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

NameTypeAccessDescription
lightTypestringReadHolds the light’s type as a string value

Methods

SignatureDescription
constructor(name: string | null, lightType: any)Creates a Light instance with an optional name and a specified light type