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.
Read-write property
[Visual Basic .NET] |
---|
Public Property Scale() As System.Array |
[C#] |
---|
public System.Array Scale {get; set;} |
[Managed C++] |
---|
public: __property System::Array get_Scale(); |
[Unmanaged C++] |
---|
public: HRESULT get_Scale( SAFEARRAY * * ppRetVal ); public: HRESULT put_Scale( SAFEARRAY * Scale ); |
[Java] |
---|
public AgSafeArray getScale(); public void setScale( AgSafeArray ); |
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.