Header menu logo Mibo

MaterialOverride Type

Optional material override for Command3D.DrawModelWith.

All applies one Material3D to every sub-mesh (allocation-free struct field). PerMesh takes a resolver indexed by the pipeline's sub-mesh iteration order — mesh index 0..model.MeshCount-1 on the raylib backend.

Union cases

Union case Description

All material

Full Usage: All material

Parameters:
material : Material3D

PerMesh resolver

Full Usage: PerMesh resolver

Parameters:
resolver : int -> Material3D

Instance members

Instance member Description

this.IsAll

Full Usage: this.IsAll

Returns: bool
Returns: bool

this.IsPerMesh

Full Usage: this.IsPerMesh

Returns: bool
Returns: bool

Type something to start searching.