mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
19 lines (15 loc) • 505 B
text/typescript
import ILightBase, { lightBaseDefaults, lightBaseSchema } from "./ILightBase"
import Defaults from "./utils/Defaults"
import { ExtractProps } from "./utils/extractProps"
export default interface ISkyLight extends ILightBase {
groundColor: string
}
export const skyLightSchema: Required<ExtractProps<ISkyLight>> = {
...lightBaseSchema,
groundColor: String
}
export const skyLightDefaults: Defaults<ISkyLight> = {
...lightBaseDefaults,
groundColor: "#ffffff",
castShadow: false
}