Creates an entity with optional transform properties.
The game instance this entity belongs to.
Configuration options for position, scale, rotation, and tags.
Readonly
childrenProtected
gameProtected
rapidAdds a child entity to this entity.
The entity to add as a child.
Disposes of the entity and its children.
Finds descendant entities matching a predicate.
Function to test each entity.
If true, returns only the first match; otherwise, returns all matches.
A single entity, an array of entities, or null if no matches are found.
Gets the parent transform or the renderer's matrix stack if no parent exists.
The transform matrix stack.
Protected
onHook for custom update logic.
Time elapsed since the last update in seconds.
Protected
postHook for custom cleanup logic before disposal.
Updates the entity and its children.
Time elapsed since the last update in seconds.
Updates the camera's transform to center the view and apply transformations.
Camera entity for managing the view transform in the game.