UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

36 lines 1.11 kB
import { extendDefaults } from "./utils/Defaults"; import { nullableDefault } from "./utils/NullableDefault"; import Range from "./utils/Range"; import Choices from "./utils/Choices"; export const texturedBasicSchema = { color: String, opacity: Number, texture: String, alphaMap: String, textureRepeat: [Object, Number], textureFlipY: Boolean, textureRotation: Number, depthTest: Boolean, blending: String }; export const texturedBasicDefaults = extendDefaults([], { color: nullableDefault("#ffffff"), opacity: nullableDefault(1), texture: undefined, alphaMap: undefined, textureRepeat: nullableDefault({ x: 1, y: 1 }), textureFlipY: nullableDefault(false), textureRotation: nullableDefault(0), depthTest: nullableDefault(true), blending: nullableDefault("normal") }, { opacity: new Range(0, 1), textureRotation: new Range(0, 360), blending: new Choices({ additive: "additive", subtractive: "subtractive", multiply: "multiply", normal: "normal" }) }); //# sourceMappingURL=ITexturedBasic.js.map