Properties
activeScene
activeScene: ((_scene) => Promise<void>)
Type declaration
- (_scene): Promise<void>
Returns Promise<void>
addDefaultLights
addDefaultLights: ((scene?) => {})
addScene
addScene: ((scene?, camera?) => Scene)
Type declaration
- (scene?, camera?): Scene
Returns Scene
getSceneStatData
getSceneStatData: (() => {
objects: number;
triangles: number;
vertices: number;
})
Type declaration
- (): {
objects: number;
triangles: number;
vertices: number;
} Returns {
objects: number;
triangles: number;
vertices: number;
}
objects: number
triangles: number
vertices: number
removeScene
removeScene: ((_scene) => void)
Type declaration
- (_scene): void
Returns void
setBackgroundEnvironment
setBackgroundEnvironment: ((options?) => Promise<void>)
Type declaration
- (options?): Promise<void>
Returns Promise<void>
setEnvConfig
setEnvConfig: ((key, value) => void)
Type declaration
- (key, value): void
Returns void
setFocus
setFocus: (() => void)
切换场景