Operation::ImportFromIndexedTrianglesF32

Creates a mesh operand from indexed float32 triangles

Creates a mesh operand from an indexed triangle list.

Note:
the optional meshType argument allows choosing between some preset types. For full nuance, create an explicit MeshHandle and go via SurfaceBuilder and MeshBuilder.

Signature

class Operation:
    // Creates a mesh operand from indexed float32 triangles
    fun importFromIndexedTrianglesF32(
        positions: [pos3],
        triangles: [idxtri],
        meshType: MeshType = Solid,
        lifetime: Lifetime = CopyImmediately,
    ) -> MeshOperand