Table of Contents

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> restitutionCallback

Field Value

delegate* unmanaged[Cdecl]<float, ulong, float, ulong, float>

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.