Interface PointlightDto

Pointlight DTO.

interface PointlightDto {
    castShadows: boolean;
    color: [r: number, g: number, b: number, a: number];
    highQualityLight: boolean;
    intensity: number;
    position: Vector3;
    range: number;
    rotation: Quaternion;
}

Properties

castShadows: boolean

Whether or not pointlight casts shadows.

color: [r: number, g: number, b: number, a: number]

Pointlight color. Unwrapped Color struct.

highQualityLight: boolean

Whether or not pointlight is a high quality light.

intensity: number

Pointlight intensity.

position: Vector3

Pointlight position.

range: number

Pointlight range.

rotation: Quaternion

Pointlight rotation.