Header menu logo Mibo

SpriteState Type

Unified state for a sprite draw call.

Record fields

Record Field Description

Color

Full Usage: Color

Field type: Color
Field type: Color

Depth

Full Usage: Depth

Field type: float32
Field type: float32

DestX

Full Usage: DestX

Field type: int
Field type: int

DestY

Full Usage: DestY

Field type: int
Field type: int

Effects

Full Usage: Effects

Field type: SpriteEffects
Field type: SpriteEffects

Height

Full Usage: Height

Field type: int
Field type: int

Layer

Full Usage: Layer

Field type: int<MeasureProduct<RenderLayer, MeasureOne>>

NormalMap

Full Usage: NormalMap

Field type: Texture2D voption
Field type: Texture2D voption

Origin

Full Usage: Origin

Field type: Vector2
Field type: Vector2

Rotation

Full Usage: Rotation

Field type: float32
Field type: float32

SourceRect

Full Usage: SourceRect

Field type: Rectangle voption
Field type: Rectangle voption

Texture

Full Usage: Texture

Field type: Texture2D
Field type: Texture2D

Width

Full Usage: Width

Field type: int
Field type: int

Type something to start searching.