Type Alias PointLightOptions

PointLightOptions: Omit<GenericObject3DOptions, "id"> & {
    color?: ColorRepresentation;
    decay?: number;
    intensity?: number;
}

Options for adding a point light

Type Declaration

  • Optionalcolor?: ColorRepresentation

    Light color. Default: 0xffffff (white)

  • Optionaldecay?: number

    Decay of the light relative to the distance to the subject. Default: 0.5

  • Optionalintensity?: number

    Intensity of the light. Default: 75

Was this helpful?