Table of Contents

Method b3World_SetFrictionCallback

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

b3World_SetFrictionCallback(b3WorldId, delegate* unmanaged[Cdecl]<float, ulong, float, ulong, float>)

Set the friction callback. Passing NULL resets to default.

public static extern void b3World_SetFrictionCallback(b3WorldId worldId, delegate* unmanaged[Cdecl]<float, ulong, float, ulong, float> callback)

Parameters

worldId b3WorldId

See the Box3D documentation.

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

See the Box3D documentation.