Creates a new WebaniPointLight instance with the provided options.
The configuration options for the light.
OptionalanimationOptional animation class used for interpolated animations.
Optional animation class used for interpolated animations.
The color of the light.
An array of additional world transforms that modify the object.
The intensity of the light, controlling how bright the light is.
OptionalparentThe parent transformable object, if any.
Flag indicating whether to apply scale compensation for the parent object.
The world transform of the object, including position, rotation, and scale.
Flag indicating whether to use the origin as the center of rotation.
Returns the world position of the light, based on its transform.
The complete world transforms of the object's extra transformations, including position, rotation, scale, and rotational center.
An array of CompleteWorldTransform objects for the extra transforms.
The complete world transform of the object, including position, rotation, scale, and rotational center.
The complete world transform as a CompleteWorldTransform object.
A copy of the extra transforms array.
A new array with copies of the extra transforms.
The combined matrix of all extra transforms without scale compensation.
A Matrix4 object representing the combined matrix of all extra transforms.
Returns the local center of the light, always [0, 0, 0].
The model matrix of the object, including scale compensation if needed.
A Matrix4 object representing the model matrix with scale compensation.
The model matrix of the object without scale compensation.
A Matrix4 object representing the model matrix without scale compensation.
Creates a shallow copy of the WebaniTransformable object.
A new instance of WebaniTransformable with the same properties as the current object.
A copy of the main transform.
A new WorldTransform object that is a copy of the main transform.
Scales the object by a specified factor.
The scaling factor as a Vector3 object.
Sets the position of the object.
The new position as a Vector3 object.
Sets the scale of the object.
The new scale as a Vector3 object.
Translates the object by a specified offset.
The offset to translate the object by.
A point light that emits light in all directions from a single point in 3D space. It is defined by a position, rotation, color, and intensity.