Creates a new LightGizmo instance for visualizing light entities in the scene.
The scene graph entity that this gizmo will be attached to and represent visually
Protected
__isProtected
__targetthe target entity which this gizmo belong to
Protected
Optional
__topThe top entity of this gizmo group. A programmer who implements a gizmo class has to make this entity a child of the target entity's scene graph component that the gizmo will belong to manually.
Collection of tags associated with this object
Static
Readonly
InvalidInvalid object UID constant
Static
currentCurrent maximum object count for UID generation
Checks whether the gizmo has been properly initialized and set up.
True if the gizmo's top entity exists and setup is complete, false otherwise
Gets the current visibility state of the gizmo
True if the gizmo is visible, false otherwise
Sets the visibility state of the gizmo
True to make the gizmo visible, false to hide it
Gets the unique object identifier
The object's UID
Gets the unique name of this object
The unique name string
Protected
__setProtected
__toInternal
Copies tag data from another RnObject instance to this object
The source RnObject to copy tags from
Checks if this object has all the specified tags with exactly matching values
Object containing tag names as keys and expected values
True if all specified tags exist with matching values, false otherwise
Checks if the object's combined tag string contains all the provided search strings. This allows for flexible searching within tag names and values.
Array of strings that must all be present in the combined tag string
True if all strings are found in the combined tag string, false otherwise
Protected
setAttempts to set a tag on this object. If the tag already exists, it will be replaced.
The tag object containing the name and value to set
True if the tag was successfully set, false if the tag name contains invalid characters
Attempts to set a unique name for this object
The desired unique name
If true, appends UID to make name unique when conflicts occur; if false, fails on conflict
True if the name was successfully set, false if there was a conflict and toAddNameIfConflict was false
Static
_resetStatic
getStatic
getStatic
searchSearches for the first object that has a specific tag with the given value
The tag name to search for
The tag value to match
WeakRef to the first matching object, or undefined if not found
Abstract Gizmo class that provides a foundation for creating interactive gizmo objects in 3D scenes. Gizmos are typically used for manipulation tools like transform handles, rotation rings, or other interactive visual aids.