Unique identifier for the object
Optional
parentUnique name string for the object
Internal
Copies properties from another RnObject instance
The source object to copy from
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 the object has all the specified tags with matching values
The tags object to match against
True if all tags match, false otherwise
Attempts to retrieve the AnimationComponent from this entity.
The AnimationComponent 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 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 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
An entity that manages animation states. Extends scene graph entity with animation state management.