STK Graphics PrimitivesSend comments on this topic.
Scale Property (IAgStkGraphicsModelPrimitive)
See Also
Windows





Windows & Linux

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 Scale
);
[Java]
public double getScale();
public void setScale(
    double
);
[Python - STK API ]
@property
def Scale(self) -> float:

@Scale.setter
def Scale(self, Scale:float) -> None:

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

© 2024 Analytical Graphics, Inc. All Rights Reserved.