Skip to main content

Interface: InstanceComponents

Defined in: rendering/renderable.ts:16

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:40

The entity's flip flags, if it has any.


position

position: PositionEcsComponent

Defined in: rendering/renderable.ts:20

The entity's position.


rotation

rotation: RotationEcsComponent | null

Defined in: rendering/renderable.ts:25

The entity's rotation, if it has one.


scale

scale: ScaleEcsComponent | null

Defined in: rendering/renderable.ts:30

The entity's scale, if it has one.


sprite

sprite: SpriteEcsComponent

Defined in: rendering/renderable.ts:35

The entity's sprite data.