Namespace: Tzu_Engine.Physic
Assembly: Tzu_Engine (in Tzu_Engine.dll)

Syntax

Visual Basic (Declaration)
<UnmanagedFunctionPointerAttribute(CallingConvention.Cdecl)>
Public Delegate Sub TZPhysics.CreateTreeCollision( _ 
   ByVal bodyWithTreeCollision As Integer,  _ 
   ByVal body As IntPtr,  _ 
   ByVal vertex As Single(),  _ 
   ByVal vertexstrideInBytes As Short,  _ 
   ByVal indexCount As Integer,  _ 
   ByVal indexArray As Integer() _ 
)
C#
[UnmanagedFunctionPointerAttribute(CallingConvention.Cdecl)]
public delegate void TZPhysics.CreateTreeCollision(
   int bodyWithTreeCollision,
   IntPtr body,
   float[] vertex,
   short vertexstrideInBytes,
   int indexCount,
   int[] indexArray
)
C++
[UnmanagedFunctionPointerAttribute(CallingConvention::Cdecl)]
public delegate void TZPhysics.CreateTreeCollision(
   int bodyWithTreeCollision,
   IntPtr body,
   array<float>^ vertex,
   short vertexstrideInBytes,
   int indexCount,
   array<int>^ indexArray
)
J#
/** delegate */
/** @attribute UnmanagedFunctionPointerAttribute(CallingConvention.Cdecl) */
public delegate void TZPhysics.CreateTreeCollision(
   int bodyWithTreeCollision,
   IntPtr body,
   float[] vertex,
   short vertexstrideInBytes,
   int indexCount,
   int[] indexArray
)
JScript
JScript suports the use of delegates, but not the declaration of new ones.

See Also