Module ecs

Module ecs 

Source
Expand description

ECS types exposed through the SDK.

Structs§

Camera
A component that defines a camera’s projection parameters.
DirectionalLight
A directional light source that illuminates from a uniform direction.
EntityId
A unique identifier for an entity in the world.
GlobalTransform
A component that stores the final, calculated, world-space transformation of an entity.
Light
A component that adds a light source to an entity.
MaterialComponent
A component that attaches any type of material to an entity.
PointLight
A point light source that emits light in all directions from a single point.
SpotLight
A spot light source that emits light in a cone from a single point.
Transform
A component that describes an entity’s position, rotation, and scale relative to its Parent. If the entity has no Parent, this is relative to the world origin.

Enums§

LightType
An enumeration of all supported light types.

Traits§

Component
A marker trait for types that can be used as components in the ECS.
ComponentBundle
A trait for any collection of components that can be spawned together as a single unit.