Constructors
constructor
- new Environment(app, config?): Environment
Parameters
app: any
Optional
config: {
far?: number;
ignoreObjects?: Object3D<Object3DEventMap>[];
near?: number;
renderOptions?: RenderTargetOptions;
resolution?: number;
scene?: Object3D<Object3DEventMap>[] | Scene;
textureType: TextureDataType;
}
Optional
far?: number
Optional
ignoreObjects?: Object3D<Object3DEventMap>[]
Optional
near?: number
Optional
renderOptions?: RenderTargetOptions
Optional
resolution?: number
Optional
scene?: Object3D<Object3DEventMap>[] | Scene
textureType: TextureDataType
Properties
cubeCamera
cubeCamera: any
ignoreObjects
ignoreObjects: any
virtualScene
virtualScene: any
Accessors
texture
- get texture(): any
Returns any
Methods
add
- add(obj): void
Returns void
dispose
- dispose(): void
Returns void
pause
- pause(): void
Returns void
start
- start(): void
Returns void
update
- update(): void
Returns void
环境贴图类