Header menu logo Mibo.Raylib

SpriteState Type

State required to render a 2D sprite via DrawTexturePro.

Record fields

Record Field Description

Color

Full Usage: Color

Field type: Color
Field type: Color

Dest

Full Usage: Dest

Field type: Rectangle
Field type: Rectangle

Layer

Full Usage: Layer

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

Origin

Full Usage: Origin

Field type: Vector2
Field type: Vector2

Rotation

Full Usage: Rotation

Field type: float32
Field type: float32

Source

Full Usage: Source

Field type: Rectangle
Field type: Rectangle

Texture

Full Usage: Texture

Field type: Texture2D
Field type: Texture2D

Type something to start searching.