Description
Gets or sets a non-uniform scale that is
applied to the solid to increase or decrease its rendered size. The
array contains the scale for each component of the size in the
order x scale, y scale, z scale.
Property type
Read-write property
Syntax
| [Visual Basic .NET] |
|---|
Public Property Scale() As Variant()
|
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 Reference Frame.
Values less than 1 decrease the size.
If the solid's Automatically
Compute Bounding Sphere property is true when
setting Scale, the Radius of the solid's
Bounding Sphere is set to
fit around the scaled solid. Otherwise, it is the caller's
responsibility to update the solid's Bounding Sphere to a sphere that
encompasses the scaled solid.