Table of Contents

Method b3Shape_SetMeshMaterial

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

b3Shape_SetMeshMaterial(b3ShapeId, b3SurfaceMaterial, int)

Set a surface material for a mesh shape.

public static extern void b3Shape_SetMeshMaterial(b3ShapeId shapeId, b3SurfaceMaterial surfaceMaterial, int index)

Parameters

shapeId b3ShapeId

See the Box3D documentation.

surfaceMaterial b3SurfaceMaterial

See the Box3D documentation.

index int

See the Box3D documentation.