Sprite

Undocumented in source.

Constructors

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

Members

Functions

Awake
void Awake()
Undocumented in source. Be warned that the author may not have intended to support it.
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.

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.

Inherited Members

From Component

_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.
bind
void bind(e.Entity entity)
Undocumented in source. Be warned that the author may not have intended to support it.
Cast
T Cast()
Undocumented in source. Be warned that the author may not have intended to support it.
CastType
void* CastType(TypeInfo targetType)
Undocumented in source. Be warned that the author may not have intended to support it.
Cast
auto Cast()
Undocumented in source. Be warned that the author may not have intended to support it.
Cast
auto Cast()
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.
Awake
void Awake()
Undocumented in source. Be warned that the author may not have intended to support it.
Start
void Start()
Undocumented in source. Be warned that the author may not have intended to support it.
Update
void Update()
Undocumented in source. Be warned that the author may not have intended to support it.
LateUpdate
void LateUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
OnMessage
void OnMessage(string op, void* arg)
Undocumented in source. Be warned that the author may not have intended to support it.
hasUpdate
bool hasUpdate [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
hasStart
bool hasStart [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
hasLateUpdate
bool hasLateUpdate [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

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