class Prism::Entity
- Prism::Entity
- Crash::Entity
- Reference
- Object
Overview
A default entity with some standard components baked in.
Direct Known Subclasses
Defined in:
prism/stdlib/entity.crConstructors
Instance Method Summary
-
#add(camera_controls : Prism::CameraControls::Controller)
Force all camera controls under the same class type So the rendering system can find them.
-
#material : Prism::Material
Shortcut to retrieve the
Material
component. -
#transform : Prism::Transform
Shortcut to retrieve the
Transform
component.
Constructor Detail
Instance Method Detail
def add(camera_controls : Prism::CameraControls::Controller)
#
Force all camera controls under the same class type So the rendering system can find them.