Interface: SpotLight
Hierarchy
↳
SpotLight
Properties
color
• color: Color
Details
光源颜色。
Inherited from
intensity
• intensity: number
Details
光源强度。(黑夜推荐强度为5,白日推荐强度为50)
Inherited from
range
• range: number
Details
照射范围
Inherited from
position
• position: Vector3
Details
光源位置
Inherited from
target
• target: Vector3
Details
光源目标位置
angle
• angle: number
Details
照射张角 [0,180)
penumbra
• Optional
penumbra: number
Details
半影
shadow
• Optional
shadow: boolean
Details
光源阴影开启与否