Module dagon.graphics.entity
Provides the scene graph node and component system.
Description
The dagon.graphics.entity module provides the Entity class, which represents
a node in the scene graph and supports hierarchical transformations, components,
tweening, and rendering. Entities can be dynamic or static, cast shadows,
and interact with the rendering system through various flags and material parameters.
The module also defines the EntityComponent base class for attachable logic/rendering
components, the EntityGroup interface for entity collections, and utility
functions for transformation math.
Functions
| Name | Description |
matrixScale(m)
|
Computes the scale vector from a transformation matrix.
|
Interfaces
| Name | Description |
EntityGroup
|
Interface for a group of entities.
Provides an opApply for iteration.
|
Classes
| Name | Description |
Entity
|
Represents a node in the scene graph.
|
EntityComponent
|
Base class for attachable entity components.
|
Enums
| Name | Description |
EntityLayer
|
Specifies the logical layer of an entity in the scene.
|
EntityType
|
Specifies the type of an entity.
|
TransformMode
|
Specifies the transformation mode for an entity.
|