Light
Overview
Light is a class in Aspose.3D FOSS for .NET.
Inherits from: Entity.
Light.Light() creates a default Light instance with default type and settings.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Type | LightType | Read | Property gets or sets the LightType of the light |
Color | Vector3 | Read/Write | Property gets or sets the light’s color as a Vector3 (RGB) |
Intensity | float | Read/Write | Property gets or sets the scalar intensity of the light |
Range | float | Read/Write | Property gets or sets the maximum effective distance of the light |
Methods
| Signature | Description |
|---|---|
Light() | Creates a default Light instance with default type and settings |
Light(type: LightType) | |
Light(type: LightType, name: string) | |
GetBoundingBox() | Returns the axis-aligned bounding box that encloses the light’s influence |
GetEntityRendererKey() | Obtains a key used by the renderer to identify this light entity |