Entity
The base class for all entities in a scene.
An Entity represents a distinct element within a scene.
Note:
Each entity automatically has a TransformComponent added upon creation.
Multiple Components can be attached to an entity, but only one instance per component type. That is, an entity cannot have two components of the same type.
Components collectively define the properties and behavior of the entity within the scene.
Inheritors
Constructors
Types
Represents options for cloning operations.
Functions
Creates and returns a copy of this entity based on the specified cloning options.
Converts a position relative to a baseEntity to the current entity.
Converts a position relative to the current entity to a targetEntity.
Converts a rotation relative to a baseEntity to the current entity.
Converts a rotation relative to the current entity to a targetEntity.
Converts a scale relative to a baseEntity to the current entity.
Converts a scale relative to the current entity to a targetEntity.
Converts a Transform relative to a baseEntity to the current entity.
Converts a Transform relative to the current entity to a targetEntity.
Searches for an entity by its name within the entire depth of its tree structure, including the entity itself. If there are multiple entities with the same name, only the first matching entity encountered will be returned.
Finds all entities with a skinned mesh component within this entity and its children. The search traverses the entire entity hierarchy starting from the current entity.
Gets the animation resources associated with the current entity.
Gets all child entities of the current entity.
Gets the number of child entities of the current entity.
Computes a bounding box for the entity in the specified space, optionally including child entities.
Uses the current entity to play an animation resource.
Plays the specified audio attached to the entity and returns a controller to manage audio playback.
Immediately starts playing an audio stream with the specified configuration.
Plays a preloaded Timeline using the current entity.
Prepares the specified audio attached to the entity and returns a controller to manage audio playback.
Prepares an audio stream for low-latency playback with specified configuration.
Removes all child entities from the current entity.
Removes a child entity from the current entity.
Removes the current entity from its parent entity.
Stops all animations playing on the current Entity.
Stops playing all audios on the current entity.