Interface PBLightSource_Spot

Hierarchy

  • PBLightSource_Spot

Properties

innerAngle?: number

default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0. Max value is 179.

outerAngle?: number

default = 30. Outer angle can't be lower than inner angle, otherwise will inner angle will be set to same value. Max value is 179.

default = ShadowType.ST_NONE The type of shadow the light source supports.

shadowMaskTexture?: TextureUnion

Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window.