SET THE X COORDINATE OF THE 3D LIGHT
ACTION
The command LIGHT_X_POSITION X set the X coordinate of the 3D light belonging to the target SCENE3D (first SCENE3D or SCENE3D selected by 3D_TARGET_IS N) and places the 3D light at the position (X,Y,Z), the coordinates Y and Z of the 3D light being unchanged.
By default, the 3D light is placed at position (0,0,5) and the target SCENE3D is first created SCENE3D.
SYNTAX:
LIGHT_X_POSITION X
USE ERROR EXAMPLE
rem create a 3D world
scene3d 1
rem create a 3D object (a teapot)
3d_teapot 1
rem position the 3D light in X
light_x_position 3.1
LIGHT_X_POSITION
LIGHT_X_POSITION X
SEE ALSO
LIGHT_POSITION
LIGHT_Y_POSITION
LIGHT_Z_POSITION