Table of Contents

Method b3Shape_SetSurfaceMaterial

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

b3Shape_SetSurfaceMaterial(b3ShapeId, b3SurfaceMaterial)

Set the shape base surface material. Does not change per triangle materials.

public static extern void b3Shape_SetSurfaceMaterial(b3ShapeId shapeId, b3SurfaceMaterial surfaceMaterial)

Parameters

shapeId b3ShapeId

See the Box3D documentation.

surfaceMaterial b3SurfaceMaterial

See the Box3D documentation.