Sprite

Undocumented in source.

Constructors

this
this(Material material)
Undocumented in source.
this
this(Texture texture)
Undocumented in source.

Members

Functions

OnBatchSetup
void OnBatchSetup(BatchData* data)
Undocumented in source. Be warned that the author may not have intended to support it.
OnComponentAdd
void OnComponentAdd()
Undocumented in source. Be warned that the author may not have intended to support it.
UpdateBatch
void UpdateBatch(vec3[] vertex, vec2[] uv, vec4[] color, uint[] index, uint indexPosition)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin ComponentBase
Undocumented in source.

Properties

color
vec4 color [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
indecies
int indecies [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
material
Material material [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
vertecies
int vertecies [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_color
vec4 _color;
Undocumented in source.
_material
Material _material;
Undocumented in source.
batch
BatchData* batch;
Undocumented in source.

Mixed In Members

From mixin ComponentBase

_entity
e.Entity _entity;
Undocumented in source.
entity
e.Entity entity [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
transform
t.Transform transform [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Batchable

material
Material material [@property getter]
Undocumented in source.
vertecies
int vertecies [@property getter]
Undocumented in source.
indecies
int indecies [@property getter]
Undocumented in source.
OnBatchSetup
void OnBatchSetup(BatchData* data)
Undocumented in source.
UpdateBatch
void UpdateBatch(vec3[] vertex, vec2[] uv, vec4[] color, uint[] index, uint indexPosition)
Undocumented in source.

Meta