Gets or sets the linear scale used to increase or decrease the size of the rendered model.
Read-write property
[Visual Basic .NET] |
---|
Public Property Scale() As Double |
[C#] |
---|
public double Scale {get; set;} |
[Managed C++] |
---|
public: __property double get_Scale(); |
[Unmanaged C++] |
---|
public: HRESULT get_Scale( double * pRetVal ); public: HRESULT put_Scale( double Scale ); |
[Java] |
---|
public double getScale(); public void setScale( double ); |
A Scale
of 1
renders the model using its actual size. Values less than 1
decrease the size of the rendered model and values greater than 1
increase the size of the rendered model.
If the model's Automatically Compute Bounding Sphere property is true
when setting Scale
, the Radius
of the model's Bounding Sphere is set to fit around the model. Otherwise, it is the caller's responsibility to update the model's Bounding Sphere to a sphere that encompasses the model.