SoCollisionManager Methods |
The SoCollisionManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | Activate | Calls Activate(true). |
![]() | Activate(Boolean) | Sets a flag to activate the collision manager, for instance, to tell it to watch the transformation and start collision detection computations when the transformation changes. |
![]() | AddBBoxCollisionCallback | Obsolete.
Use BBoxCollision event instead.
Adds bounding box collision delegate.
Bounding box collision delegates are called after the bounding box collision
detection and before real detection, allowing the programmer to change the
ObjectBBoxOnly and SceneBBoxOnly flags. The delegate are
passed the paths of the two nodes whose bounding boxes are colliding.
|
![]() | AddCollisionCallback | Obsolete.
Use Collision event instead.
Adds collision delegate.
|
![]() | Dispose | |
![]() | Equals | (Inherited from Object.) |
![]() | GetGluingLevel | Returns the gluing level. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetObject | Returns the object that will be transformed. |
![]() | GetScene | Returns the scene the object is interacting with. |
![]() | GetTransform | Returns the transformation that will be watched. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsActivated | Returns a flag indicating whether the collision manager is activated. |
![]() | IsGluing | Returns a flag indicating whether the collision manager should place the object at the position just before the first collision that would occur along the transformation path. |
![]() | IsObjectBBoxOnly | Returns a flag indicating whether to use the object's bounding box instead of the actual primitives when computing collisions. |
![]() | IsSceneBBoxOnly | Returns a flag indicating whether to use the bounding boxes of objects in the scene instead of the actual primitives when computing collisions. |
![]() | RemoveCollisionCallback(SoCollisionManagerBBoxCollisionUserDataCB, Object) | Obsolete.
Use BBoxCollision event instead.
|
![]() | RemoveCollisionCallback(SoCollisionManagerCollisionUserDataCB, Object) | Obsolete.
Use Collision event instead.
|
![]() | SetFilterCallback(SoCollisionManagerFilterCollisionCB) | Obsolete.
Use FilterCallback property instead.
Sets the delegate called when an object shape collides with a scene
shape. If the delegate returns true, the Collision Manager looks
forward for collisions; else, it aborts searching. If it is null, no filter is
applied.
|
![]() | SetFilterCallback(SoCollisionManagerFilterCollisionUserDataCB, Object) | Obsolete.
Use FilterCallback property instead.
|
![]() | SetGluing | Calls SetGluing(true). |
![]() | SetGluing(Boolean) | Sets a flag indicating that the collision manager should place the object at the position just before the first collision that would occur along the transformation path. |
![]() | SetGluingLevel | Sets the gluing level. |
![]() | SetObject | Sets the object that will be transformed. |
![]() | SetObjectBBoxOnly | Calls SetObjectBBoxOnly(true). |
![]() | SetObjectBBoxOnly(Boolean) | Sets a flag indicating whether to use the object's bounding box instead of the actual primitives when computing collisions. |
![]() | SetScene | Sets the scene the object is interacting with. |
![]() | SetSceneBBoxOnly | Calls SetSceneBBoxOnly(true). |
![]() | SetSceneBBoxOnly(Boolean) | Sets a flag indicating whether to use the bounding boxes of objects in the scene instead of the actual primitives when computing collisions. |
![]() | SetTransform | Sets the transformation that will be watched. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |