Click or drag to resize

SolidPrimitiveScale Property

Gets or sets a non-uniform scale that is applied to the solid to increase or decrease its rendered size.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public Cartesian Scale { get; set; }

Property Value

Type: Cartesian
Remarks

A Scale of (1, 1, 1) renders the solid using its actual size. Values greater than 1 for a component increase the size of the rendered solid in the corresponding direction in the primitive's ReferenceFrame. Values less than 1 decrease the size.

If the solid's AutomaticallyComputeBoundingSphere property is true when setting Scale, the Radius of the solid's BoundingSphere is set to fit around the scaled solid. Otherwise, it is the caller's responsibility to update the solid's BoundingSphere to a sphere that encompasses the scaled solid.

See Also