Field restitutionCallback
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
restitutionCallback
An optional callback mixing the restitution of two surfaces. The default is
max(restitutionA, restitutionB).
public delegate* unmanaged[Cdecl]<float, ulong, float, ulong, float> restitutionCallbackField Value
Remarks
Signature: float (float restitutionA, ulong userMaterialIdA, float restitutionB, ulong userMaterialIdB).
Called from worker threads; it must be thread-safe and must not touch world state.