Table of Contents

Method b3GetMeshMaterialIndices

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3GetMeshMaterialIndices(b3MeshData*)

Gets the per-triangle material indices of a mesh.

public static byte* b3GetMeshMaterialIndices(b3MeshData* mesh)

Parameters

mesh b3MeshData*

The mesh.

Returns

byte*

A pointer to the array, or null when the mesh has none.

Remarks

The entry count equals the triangle count.