发布日期: 09/18/2023

Translate Function

The Translate function sets the position from which the 3-D scene is viewed. The arguments give the amount to move from the current position in the x, y, and z direction.

Translate (x, y, z)

For example,

Translate( 0.0, 0.0, -2 );

moves the origin two units in the negative z direction.

Initially, the origin and camera were at the same place. Now, the camera can see the origin because the camera faces down the negative z axis.

需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).