User Tools

Site Tools


crpl:docs:setimageposition

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Image Commands

SetImagePosition

ArgumentsResultNotation
A unit UID, image slot, X, Y, Z coordinates i1 s1 f1 f2 f3 –

Description

Sets the coordinates (in floating point pixel space) of the image. 0,0,0 is the exact center of the unit. Negative z values are closer to the camera.

Examples

# Set the location of "FlyingThing" to 10,10 
# (to the right and above the center of the unit). 
# Move the image slightly closer to the camera 
# (-0.01 on the z axis) so it appears in front of the 
# main image. 
Self "FlyingThing" 10 10 -0.01 SetImagePosition
crpl/docs/setimageposition.1412190170.txt.gz · Last modified: 2014/10/01 15:02 by 127.0.0.1