跳到主要内容
版本:v10.0

M3D / M3D / Render / SceneLightState

Class: SceneLightState

M3D.Render.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

Methods

Constructors

constructor

new SceneLightState(): SceneLightState

Returns

SceneLightState

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

灯光状态信息重置