ThreeDModel.SetGroupPivotPosition(String, Variable, Variable, Variable) Method

Top 

Description

Set the position of the pivot point about which rotations are applied. This point is defined in absolute model coordinates.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

ThreeDModel.SetGroupPivotPosition(

String groupName,


Variable xPivotLocation,


Variable yPivotLocation,


Variable zPivotLocation)

 

 

Arguments

groupName


Description:

Name of the group for which the pivot point position is defined.

 

 

xPivotLocation


Description:

The x-element of the pivot point of the group.

Units:

km

 

 

yPivotLocation


Description:

The y-element of the pivot point of the group.

Units:

km

 

 

zPivotLocation


Description:

The z-element of the pivot point of the group.

Units:

km

 

 

 

Return Value

Type:

number

 

 

Returns a 1 if the pivot position of the group is set successfully, returns a 0 if unsuccessful.

 

Syntax

myVariable1 = myThreeDModel1.SetGroupPivotPosition(myString1, myVariable2, myVariable3, myVariable4);

 

 

See also

ThreeDModel Object

ThreeDModel.SetGroupPivotPosition

Vehicle 3D Models Guide