ReflectionProbe

Description

class ReflectionProbe

Constructor

new ReflectionProbe(name, size, scene, generateMipMaps)

Parameters

Name Type Description
name string
size number
scene Scene

Members

name : string

invertYAxis : boolean

position : Vector3

samples : number

refreshRate : number

cubeTexture : RenderTargetTexture

renderList : Nullable<AbstractMesh[]>

Methods

getScene() Scene

attachToMesh(mesh) void

Parameters

Name Type Description
mesh AbstractMesh

setRenderingAutoClearDepthStencil(renderingGroupId, autoClearDepthStencil) void

Specifies whether or not the stencil and depth buffer are cleared between two rendering groups.

     * @param renderingGroupId The rendering group id corresponding to its index

Parameters

Name Type Description
renderingGroupId number The rendering group id corresponding to its index
autoClearDepthStencil boolean Automatically clears depth and stencil between groups if true.

dispose() void