AGI STK Graphics 11 Send comments on this topic.
Scale Property (IAgStkGraphicsModelPrimitive)
See Also 





Description

Gets or sets the linear scale used to increase or decrease the size of the rendered model.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property Scale() As Double

[C#]
public double Scale {get; set;}

[Managed C++]
public: __property double get_Scale();
public: __property void set_Scale(
double
);

[Unmanaged C++]
public: HRESULT get_Scale(
double * pRetVal
);
public: HRESULT put_Scale(
double NewScale
);

[Java]
public double getScale();public void setScale(
double
);

Remarks

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.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1