Property UserMaterialId
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
UserMaterialId
Gets an application-defined identifier reported with query results and passed to the friction and restitution combining callbacks.
public ulong UserMaterialId { get; init; }Property Value
Remarks
The physics engine never interprets this. It is the natural place to put a surface type such as "gravel" so that a ray cast can tell the caller what it hit without a lookup.