Primitive

*

abstract
class Primitive : Entity {}

Constructors

this
this(string id)

*

Inherited Members

From Entity

transform
Transform transform;
id
string id;
scene
Scene scene;
visibility
Visibility visibility;
model
Model model;
addComponent
typeof(this) addComponent(T component)
removeComponent
typeof(this) removeComponent(ComponentType type)
component
T component()
start
void start()

Called after all scene entitys instantiation. It is optional.

update
void update()

Called every frame to update the current state of the scene entity. It is optional.

Meta