Click or drag to resize
DigitalRuneCollisionObjectGeometricObject Property
Gets or sets the geometric object.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public IGeometricObject GeometricObject { get; set; }

Property Value

Type: IGeometricObject
The geometric object.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is .
Remarks

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 .

See Also