Interface: InstanceComponents
Defined in: rendering/renderable.ts:41
The components needed to bind an entity's per-instance data, resolved once
per entity by the render system and passed to BindInstanceDataCallback so
that instance data segments don't each have to look them up again.
Properties
flip
flip:
FlipEcsComponent|null
Defined in: rendering/renderable.ts:65
The entity's flip flags, if it has any.
position
position:
PositionEcsComponent
Defined in: rendering/renderable.ts:45
The entity's position.
rotation
rotation:
RotationEcsComponent|null
Defined in: rendering/renderable.ts:50
The entity's rotation, if it has one.
scale
scale:
ScaleEcsComponent|null
Defined in: rendering/renderable.ts:55
The entity's scale, if it has one.
sprite
sprite:
SpriteEcsComponent
Defined in: rendering/renderable.ts:60
The entity's sprite data.
textEffects?
optionaltextEffects?:TextEffectsInstanceData
Defined in: rendering/renderable.ts:72
The entity's text outline/shadow effect data, if this instance is a
glyph quad pushed by pushTextRenderCommands. undefined for ordinary
sprites.