mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
19 lines (15 loc) • 535 B
text/typescript
import IEventLoop, { eventLoopDefaults, eventLoopSchema } from "./IEventLoop"
import Defaults from "./utils/Defaults"
import { ExtractProps } from "./utils/extractProps"
import Nullable from "./utils/Nullable"
export default interface ISkybox extends IEventLoop {
texture: Nullable<string | Array<string>>
}
export const skyboxSchema: Required<ExtractProps<ISkybox>> = {
...eventLoopSchema,
texture: [String, Array]
}
export const skyboxDefaults: Defaults<ISkybox> = {
...eventLoopDefaults,
texture: undefined
}