Tao.Ode SDK Documentation

Ode.dGeomGetCategoryBits Method 

Get the "category" bitfield for the given geom. This bitfield is used by spaces to govern which geoms will interact with each other. The bitfield is guaranteed to be at least 32 bits wide. The default category and collide values for newly created geoms have all bits set. Note this is NOT CLS-compliant (due to the use of ulong to hold the 32-bit bitfield) TODO: Implement a CLS-compliant work-around or justify why not

[Visual Basic]
Public Shared Function dGeomGetCategoryBits( _
   ByVal geom As IntPtr _
) As UInt64
[C#]
public static ulong dGeomGetCategoryBits(
   IntPtr geom
);

Parameters

geom
the geom to query

Return Value

the current bitfield value

See Also

Ode Class | Tao.Ode Namespace