ReflectionProbe

Hierarchy

  • ReflectionProbe

Index

Constructors

constructor

  • new ReflectionProbe(name: string, size: number, scene: Scene, generateMipMaps?: boolean): ReflectionProbe
  • Parameters

    • name: string
    • size: number
    • scene: Scene
    • Optional generateMipMaps: boolean

    Returns ReflectionProbe

Properties

cubeTexture

cubeTexture: RenderTargetTexture

name

name: string

position

position: Vector3

refreshRate

refreshRate: number

renderList

renderList: Nullable<AbstractMesh[]>

samples

samples: number

Methods

attachToMesh

dispose

  • dispose(): void
  • Returns void

getScene

setRenderingAutoClearDepthStencil

  • setRenderingAutoClearDepthStencil(renderingGroupId: number, autoClearDepthStencil: boolean): void
  • Specifies whether or not the stencil and depth buffer are cleared between two rendering groups.

    Parameters

    • renderingGroupId: number

      The rendering group id corresponding to its index

    • autoClearDepthStencil: boolean

      Automatically clears depth and stencil between groups if true.

    Returns void

Generated using TypeDoc