Unique identifier for the object
OptionalparentUnique name string for the object
InternalCopies properties from another RnObject instance
The source object to copy from
InternalDestroys this entity and releases all associated resources.
InternalRemoves a component from this entity.
The component type identifier to remove
OptionalkeepPoseInWorldSpace: booleanRetrieves a component by its unique component type identifier.
The component type identifier
The component instance if found, undefined otherwise
Retrieves the value of a specific tag
The name of the tag to retrieve
The tag value or undefined if not found
Checks whether this entity has a component of the specified type.
The constructor/class of the component to check
True if the entity has the component, false otherwise
Checks if an object matches a specific tag name and value
The tag name to match
The tag value to match
True if the tag matches, false otherwise
Checks if the object has all the specified tags with matching values
The tags object to match against
True if all tags match, false otherwise
Checks if the object's combined tag string contains all provided strings
Array of strings to search for in tags
True if all strings are found, false otherwise
Attempts to retrieve the AnimationComponent from this entity.
The AnimationComponent if present, undefined otherwise
Attempts to retrieve the AnimationStateComponent from this entity.
The AnimationStateComponent if present, undefined otherwise
Attempts to retrieve the BlendShapeComponent from this entity.
The BlendShapeComponent if present, undefined otherwise
Attempts to retrieve the CameraComponent from this entity.
The CameraComponent if present, undefined otherwise
Attempts to retrieve the CameraControllerComponent from this entity.
The CameraControllerComponent if present, undefined otherwise
Attempts to retrieve the ConstraintComponent from this entity.
The ConstraintComponent if present, undefined otherwise
Attempts to retrieve the EffekseerComponent from this entity.
The EffekseerComponent if present, undefined otherwise
Attempts to retrieve the LightComponent from this entity.
The LightComponent if present, undefined otherwise
Attempts to retrieve the MeshComponent from this entity.
The MeshComponent if present, undefined otherwise
Attempts to retrieve the MeshRendererComponent from this entity.
The MeshRendererComponent if present, undefined otherwise
Attempts to retrieve the PhysicsComponent from this entity.
The PhysicsComponent if present, undefined otherwise
Attempts to retrieve the RaymarchingComponent from this entity.
The RaymarchingComponent if present, undefined otherwise
Attempts to retrieve the SceneGraphComponent from this entity.
The SceneGraphComponent if present, undefined otherwise
Attempts to retrieve the SkeletalComponent from this entity.
The SkeletalComponent if present, undefined otherwise
Attempts to retrieve the TransformComponent from this entity.
The TransformComponent if present, undefined otherwise
Attempts to retrieve the VrmComponent from this entity.
The VrmComponent if present, undefined otherwise
Attempts to set a tag on the object
The tag object containing name and value
True if the tag was successfully set, false otherwise
Attempts to set a unique name for the object
The desired unique name
Whether to modify the name if it conflicts with existing names
True if the name was successfully set, false otherwise
Validates a tag string to ensure it contains only allowed characters
The string to validate
True if the string is valid, false otherwise
An entity that manages animation states. Extends scene graph entity with animation state management.