Tao.Ode SDK Documentation

Ode.dSpaceSetCleanup Method 

Set the clean-up mode of the space. If the clean-up mode is 1, then the contained geoms will be destroyed when the space is destroyed. If the clean-up mode is 0 this does not happen. The default clean-up mode for new spaces is 1.

[Visual Basic]
Public Shared Sub dSpaceSetCleanup( _
   ByVal space As IntPtr, _
   ByVal mode As Integer _
)
[C#]
public static void dSpaceSetCleanup(
   IntPtr space,
   int mode
);

Parameters

space
the space to set
mode
the cleanup mode

See Also

Ode Class | Tao.Ode Namespace