Header menu logo Nu

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: VulkanBuffer
Field type: VulkanBuffer

Indices

Full Usage: Indices

Field type: int array
Field type: int array

InstanceBuffer

Full Usage: InstanceBuffer

Field type: VulkanBuffer
Field type: VulkanBuffer

PrimitiveTopology

Full Usage: PrimitiveTopology

Field type: VkPrimitiveTopology
Field type: VkPrimitiveTopology

TrianglesCached

Full Usage: TrianglesCached

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

VertexBuffer

Full Usage: VertexBuffer

Field type: VulkanBuffer
Field type: VulkanBuffer

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.