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

NameTypeAccessDescription
TypeLightTypeReadProperty gets or sets the LightType of the light
ColorVector3Read/WriteProperty gets or sets the light’s color as a Vector3 (RGB)
IntensityfloatRead/WriteProperty gets or sets the scalar intensity of the light
RangefloatRead/WriteProperty gets or sets the maximum effective distance of the light

Methods

SignatureDescription
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

See Also