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.4.407.0 (20.4.407.0)
public double BoundingSphereScale { get; set; }

Property Value

Type: Double
InvalidOperationException Cannot set BoundingSphereScale when AutomaticallyComputeBoundingSphere is . Set AutomaticallyComputeBoundingSphere to first.
ArgumentOutOfRangeExceptionBoundingSphereScale 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.

See Also