Interface ReflectorOptions

Reflector options

ReflectorOptions

https://github.com/pmndrs/drei/blob/master/src/core/MeshReflectorMaterial.tsx

2024.1.8

yisky

interface ReflectorOptions {
    blur?: number | Vector2;
    clearAlpha?: number;
    clearColor?: ColorRepresentation;
    clipBias?: number;
    depthScale?: number;
    depthToBlurRatioBias?: number;
    maxDepthThreshold?: number;
    minDepthThreshold?: number;
    reflectDirection?: Vector3;
    reflectOffset?: number;
    resolution?: number;
    samples?: number;
}

Properties

blur?: number | Vector2

Blur

ReflectorOptions

clearAlpha?: number

Clear alpha

ReflectorOptions

clearColor?: ColorRepresentation

Clear color

ReflectorOptions

clipBias?: number

Clip bias

ReflectorOptions

depthScale?: number

Depth scale

ReflectorOptions

depthToBlurRatioBias?: number

Depth to blur ratio bias

ReflectorOptions

maxDepthThreshold?: number

Max depth threshold

ReflectorOptions

minDepthThreshold?: number

Min depth threshold

ReflectorOptions

reflectDirection?: Vector3

Local reflect direction

ReflectorOptions

reflectOffset?: number

Reflect offset

ReflectorOptions

resolution?: number

Resolution

ReflectorOptions

samples?: number

Samples times

ReflectorOptions