LightSystemBase

LightSystemBase

LightSystemBase 光源环境对象的基类

Members

diffuse : Color

漫反射光颜色

intensity : number

光线强度 0-1

isEnabled : boolean

是否激活系统

isLampVisible : boolean

灯泡是否可见

position : Vector3

指定光照系统的原点。对阳光系统无效。对暗光系统,如不指定,则自动使用关联图层原点。

readonly babylonLayer : BabylonLayer

内置的BabylonLayer对象

readonly lampLayer : ShapeLayer

灯泡图层

readonly scene : Scene

内置的Scene对象

specular : Color

高光颜色

Methods