interface IDirectLightData {
    shadowCascadesMode: ShadowCascadesMode;
    shadowDepthBias: number;
    shadowDistance: number;
    shadowMode: ShadowMode;
    shadowNearPlane: number;
    shadowNormalBias: number;
    shadowResolution: number;
    shadowStrength: number;
    shadowTwoCascadeSplits: number;
    transform: Transform3D;
    setDirection(value: Vector3): void;
    setShadowFourCascadeSplits(value: Vector3): void;
}

实现于

属性

shadowCascadesMode: ShadowCascadesMode
shadowDepthBias: number
shadowDistance: number
shadowMode: ShadowMode
shadowNearPlane: number
shadowNormalBias: number
shadowResolution: number
shadowStrength: number
shadowTwoCascadeSplits: number
transform: Transform3D

方法