TextBatchPrimitiveBoundingSphereScale Property |
Namespace: AGI.Foundation.Graphics
| Exception | Condition |
|---|---|
| InvalidOperationException | Cannot set BoundingSphereScale when AutomaticallyComputeBoundingSphere is . Set AutomaticallyComputeBoundingSphere to first. |
| ArgumentOutOfRangeException | BoundingSphereScale must be greater than or equal to zero. |
BoundingSphereScale is only used when AutomaticallyComputeBoundingSphere is .
A BoundingSphereScale greater than 1 is commonly used to enlarge the primitive's BoundingSphere so the primitive is conservatively culled. This is useful for primitives defined in screen-space such as the marker batch and text batch.