IDL Programming > Objects > Graphics Object Classes > IDLgrModel::Translate

IDLgrModel::Translate

Syntax | Arguments | Keywords | Version History

The IDLgrModel::Translate procedure method translates the model by the specified translation offsets. IDL computes and maintains the resulting transform matrix in double-precision floating-point.

Syntax

Obj->[IDLgrModel::]Translate, Tx, Ty, Tz [, /PREMULTIPLY]

Arguments

Tx, Ty, Tz

The offsets in X, Y, and Z, respectively, by which the model is to be translated.

Keywords

PREMULTIPLY

Set this keyword to cause the translation matrix specified by Tx, Ty, Tz to be pre-multiplied to the model’s transformation matrix. By default, the translation matrix is post-multiplied.

Version History

5.0

Introduced