![]() |
![]()
| ![]() |
![]()
NAMEmove3d_model - Set new world-space coordinates for the specified model.SYNOPSISnilmove3d_model( vid:model, float:x, float:y, float:z ) move3d_model( vid:model, float:x, float:y, float:z, uint:time=0 ) move3d_model( vid:model, float:x, float:y, float:z, uint:time, uint:interp=INTERP_LINEAR ) DESCRIPTIONThe move3d, rotate3d, scale3d etc. class functions are similar to their 2D counterparts, but takes an additional z coordinate. While these functions are intended for 3D objects, it is possible to apply on 2D objects as well, but with possible side-effects to picking and similar operations.EXAMPLEfunction move3d_model0() a = fill_surface(64, 64, 255, 0, 0); move3d_model(a, 100, 100, -5, 100); show_image(a); end SEE ALSO:move3d_model(3) rotate3d_model(3) scale3d_model(3)
|