MeshBoundingShape Property |
Namespace: DigitalRune.Graphics
Exception | Condition |
---|---|
ArgumentNullException | value is . |
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.