Skip to main content

Class: Reflector2

Extra-Helpers.Reflector2

Hierarchy

  • Mesh<BufferGeometry, MeshPhysicalMaterial>

    Reflector2

Properties

type

type: string = 'Reflector'

Overrides

Mesh.type

Defined in

webgi/src/helpers/threejs/Reflector2.ts:25


isReflector2

Readonly isReflector2: true

Defined in

webgi/src/helpers/threejs/Reflector2.ts:26


textureMatrix

Readonly textureMatrix: Matrix4

Defined in

webgi/src/helpers/threejs/Reflector2.ts:29


enabled

enabled: boolean = true

Defined in

webgi/src/helpers/threejs/Reflector2.ts:32


reflectorModePhysical

reflectorModePhysical: boolean = true

Defined in

webgi/src/helpers/threejs/Reflector2.ts:35


reflectionTargetNeedsUpdate

reflectionTargetNeedsUpdate: boolean = true

Defined in

webgi/src/helpers/threejs/Reflector2.ts:37


transparentReflectionBackground

transparentReflectionBackground: boolean = true

Defined in

webgi/src/helpers/threejs/Reflector2.ts:38


materialExtension

Readonly materialExtension: MaterialExtension

Defined in

webgi/src/helpers/threejs/Reflector2.ts:236

Constructors

constructor

new Reflector2(geometry, renderTarget, clipBias?)

Parameters

NameTypeDefault value
geometryBufferGeometryundefined
renderTargetWebGLRenderTargetundefined
clipBiasnumber0

Overrides

Mesh<BufferGeometry, MeshPhysicalMaterial\>.constructor

Defined in

webgi/src/helpers/threejs/Reflector2.ts:45

Methods

getRenderTarget

getRenderTarget(): WebGLRenderTarget

Returns

WebGLRenderTarget

Defined in

webgi/src/helpers/threejs/Reflector2.ts:230