CollisionObjectGeometricObject Property |
Namespace: DigitalRune.Geometry.Collisions
Exception | Condition |
---|---|
ArgumentNullException | value is . |
Important: The property GeometricObject should be set to if the CollisionObject is no longer used. The CollisionObject handles the events of the IGeometricObject (PoseChanged and ShapeChanged). Therefore, the IGeometricObject instance has implicit strong references to the CollisionObject. The CollisionObject cannot be garbage collected as long the IGeometricObject instance is alive. The CollisionObject can be garbage collected if the IGeometricObject instance can be garbage collected or this property is .