M3D / M3D / Render / SceneLightState
Class: SceneLightState
Memberof
M3D.Render
Description
灯光状态信息
Author
ss
Date
2022-08-15
Version
1.0
Copyright
All Rights Reserved. Copyright (C) 2022 HOTEAMSOFT, Ltd
Table of contents
Constructors
Properties
- ambient
- directional
- directionalShadowMat
- directionalShadowTex
- directionalShadowUpdate
- hash
- hemisphere
- point
- spot
Methods
Constructors
constructor
• new SceneLightState(): SceneLightState
Returns
Properties
ambient
• ambient: Vector3
directional
• directional: LightUniform[]
directionalShadowMat
• directionalShadowMat: Matrix4[]
directionalShadowTex
• directionalShadowTex: Texture[]
directionalShadowUpdate
• directionalShadowUpdate: DirectionalLightShadow[]
hash
• hash: string
hemisphere
• hemisphere: LightUniform[]
point
• point: LightUniform[]
spot
• spot: LightUniform[]
Methods
resize
▸ resize(): void
Returns
void
Description
灯光状态信息重置