Click or drag to resize
DigitalRuneMeshBoundingShape Property
Gets or sets the bounding shape of this mesh.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public Shape BoundingShape { get; set; }

Property Value

Type: Shape
The bounding shape of this mesh. Must not be . The default value is Infinite.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is .
Remarks

The properties of the bounding shape can be changed at any time. But it is not allowed to replace the bounding shape while the Mesh is in use, i.e. referenced by a scene node.

For example, if the bounding shape is a SphereShape, the radius of the sphere can be changed at any time. But it is not allowed to replace the SphereShape with a BoxShape as long as the mesh is used in a scene. Replacing the bounding shape will not raise any exceptions, but the mesh may no longer be rendered correctly.

See Also