Light
Overview
Light is a class in Aspose.3d for Typescript.
Inherits from: Light, Camera.
Light is created with a name and a LightType (POINT, DIRECTIONAL, SPOT, AREA, VOLUME) and exposes the lightType property.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
lightType | string | Read | Holds the light’s type as a string value |
Methods
| Signature | Description |
|---|---|
constructor(name: string | null, lightType: any) | Creates a Light instance with an optional name and a specified light type |