LightBase provides an abstract base object for subtypes representing lights.

Can be DirectionalLight, LightProbe, PointLight.


Inherited from Entity -> ObjectContainer3D -> Object3D -> NamedAssetBase -> EventDispatcher.


Created LightBase object has properties:

ambient

The ambient emission strength of the light. Float

ambientColor

The ambient emission colour of the light. Int

assetType

[override] [read-only] String

castsShadows

Boolean

color

Int. The color of the light.

diffuse

The diffuse emission strength of the light. Float

shadowMapper

(ShadowMapperBase) not supported

specular

The specular emission strength of the light. Float


Created with the Personal Edition of HelpNDoc: Free Web Help generator