ThreeDModel.ModelScale Property

Top 

Description

This property has been Deprecated. Please use ThreeDModel.Scale instead.

 

A scale factor to increase or decrease the size of the ThreeDModel's implicit dimensions, such as those returned when using the ThreeDModel.GetGroupBoundingBox method. The ModelScale property assumes the model dimensions are in units of kilometers, unlike the Spacecraft.BodyScale property, which applies the dimensions as meters. If, for example, the Spacecraft.BodyScale is set to 1, the ThreeDModel.ModelScale will have to be set to 0.001 in order to make bounding boxes coincide with the model.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

 

Attributes

Type:

number

Access:

read/write

Default Value:

1.0

Valid Range:

ThreeDModel.ModelScale > 0

 

Syntax

myVariable1 = myThreeDModel1.ModelScale;

 

myThreeDModel1.ModelScale = myVariable1;

 

See also

ThreeDModel Object

Vehicle 3D Models Guide