3D_U_TILE

3D_U_TILE N,T

SET THE TILE NUMBER ON U-COORDINATE OF THE 3D_PLANE NUMBER N

  • Type: Command
  • Parameters: 2
  • Group: 3D Objects

ACTION

The command 3D_U_TILE N,T set the tile number which make the texture of the 3D_PLANE object designated by its number N, for the U-coordinate. It is the tile number of the texture on the U-axis.

SYNTAX: 3D_U_TILE N,T

  • N = 3D object number (integer or real). Must be greater than 0 and less than or equal to the allowed maximum number of 3D objects.
  • T = tile number.

USE

  • The command 3D_U_TILE is used to set the tile number on U-coordinate.

ERROR

  • If number N is not a correct expression.
  • If number N exceeds the allowed maximum number of 3D objects.
  • If number N is not greater than 0.
  • If 3D object number N does not exist.
  • If T is not a correct expression.
  • If T is less than or equal to 0.

EXAMPLE

rem create a 3D world

scene3d 1

rem move the camera

cam_z_position 10

rem create the 3D_PLANE number 1

3d_plane 1

rem load a texture

3d_load_texture 1,"picture.bmp"

rem move the object

3d_z_position 1,-5

rem change the tile number

3d_u_tile 1,10

3d_v_tile 1,5

SEE ALSO

3D_PLANE

3D_V_TILE