Header menu logo Mibo

DrawState Type

Intermediate state used to accumulate properties for a 3D object before it is submitted to the renderer. Usually created via the draw computation expression.

Record fields

Record Field Description

Bones

Full Usage: Bones

Field type: Matrix[] voption
Modifiers: mutable

Optional bone matrices for skinned mesh animation.

Field type: Matrix[] voption

EffectOverride

Full Usage: EffectOverride

Field type: Effect voption
Modifiers: mutable

An optional shader effect to override the default pipeline shader.

Field type: Effect voption

LocalPosition

Full Usage: LocalPosition

Field type: Vector3
Modifiers: mutable

The world-space or parent-relative position.

Field type: Vector3

LocalRotation

Full Usage: LocalRotation

Field type: Quaternion
Modifiers: mutable

The world-space or parent-relative rotation.

Field type: Quaternion

LocalScale

Full Usage: LocalScale

Field type: Vector3
Modifiers: mutable

The world-space or parent-relative scale.

Field type: Vector3

Material

Full Usage: Material

Field type: Material
Modifiers: mutable

The PBR material properties and rendering flags.

Field type: Material

Mesh

Full Usage: Mesh

Field type: Mesh voption
Modifiers: mutable

The geometric mesh to render.

Field type: Mesh voption

Parent

Full Usage: Parent

Field type: Matrix voption
Modifiers: mutable

An optional parent transform matrix to concatenate with the local transform.

Field type: Matrix voption

Type something to start searching.