Header menu logo Mibo

ShadowMeshDraw Type

A mesh draw collected for the shadow pass (caster geometry).

Record fields

Record Field Description

CastsShadow

Full Usage: CastsShadow

Field type: bool

Whether this draw was emitted while shadows were enabled. The shadow pass renders only draws with CastsShadow = true; the scene-depth pass renders all of them.

Field type: bool

Mesh

Full Usage: Mesh

Field type: PrimitiveMesh
Field type: PrimitiveMesh

Transform

Full Usage: Transform

Field type: Matrix
Field type: Matrix

WorldBounds

Full Usage: WorldBounds

Field type: BoundingSphere

World-space bounds (mesh.Bounds transformed by Transform). Precomputed at collection time so the per-caster frustum cull in runShadowPass is a single ContainmentType check.

Field type: BoundingSphere

Type something to start searching.