Header menu logo Nu

PhysicallyBased.PhysicallyBasedGeometry Type

Describes some physically-based geometry that's loaded into VRAM.

Record fields

Record Field Description

Bounds

Full Usage: Bounds

Field type: Box3
Field type: Box3

ElementCount

Full Usage: ElementCount

Field type: int
Field type: int

IndexBuffer

Full Usage: IndexBuffer

Field type: uint
Field type: uint

Indices

Full Usage: Indices

Field type: int array
Field type: int array

InstanceBuffer

Full Usage: InstanceBuffer

Field type: uint
Field type: uint

PrimitiveType

Full Usage: PrimitiveType

Field type: PrimitiveType
Field type: PrimitiveType

TrianglesCached

Full Usage: TrianglesCached

Field type: Vector3 array option
Modifiers: mutable
Field type: Vector3 array option

VertexBuffer

Full Usage: VertexBuffer

Field type: uint
Field type: uint

Vertices

Full Usage: Vertices

Field type: Vector3 array
Field type: Vector3 array

Instance members

Instance member Description

this.Triangles

Full Usage: this.Triangles

Returns: Vector3[]

Lazily access triangles, building them from Vertices and Indices if needed.

Returns: Vector3[]

Type something to start searching.