Light
Overview
Light is a class in Aspose.3D FOSS for Typescript.
Inherits from: Camera.
Light.constructor creates a new Light with an optional name and a specified light type.
This class provides 1 method for working with Light objects in Typescript programs.
Available methods include: constructor.
All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package.
Properties: lightType.
Description
Light is a class in the Aspose.3D FOSS library for TypeScript that exposes 0 methods and 1 property for programmatic use. It extends Camera, inheriting shared functionality from its parent type.
Core capabilities include: string; creates a new light with an optional name and a specified light type. These operations enable developers to integrate light functionality directly into TypeScript applications.
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
lightType | string | Read/Write | Gets the light type. |
Methods
| Signature | Description |
|---|---|
constructor(name: string | null, lightType: any) | Creates a new Light with an optional name and a specified light type |