Click or drag to resize

MarkerBatchPrimitiveBoundingSphereScale Property

Gets or sets the scale applied to the radius of this primitive's bounding sphere.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 20.2.404.0 (20.2.404.0)
Syntax
public double BoundingSphereScale { get; set; }

Property Value

Type: Double
Exceptions
ExceptionCondition
InvalidOperationException Cannot set BoundingSphereScale when AutomaticallyComputeBoundingSphere is . Set AutomaticallyComputeBoundingSphere to first.
ArgumentOutOfRangeExceptionBoundingSphereScale must be greater than or equal to zero.
Remarks

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.

See Also