|
MoveCamera | ||
MoveCamera CameraIndex, XDist#, YDist# | ||
Parameters: CameraIndex = The Index Identifier of the Camera that you wish to read from XDist# = The distance you wish to move this camera along the X axis YDist# = The distance you wish to move this camera along the Y axis |
||
Returns: NONE | ||
MoveCamera changes the position of a camera along both the X and Y axis. FACTS: * The cameras position relates the top left hand coordinate of the cameras viewport. So position 0,0 of the viewport equates to the cameras X/Y position in world space. * Camera positions are in World Space not Screen Space. Mini Tutorial: Create a camera, position it and then read back and display this position.
This example would output.
|
Related Info: | GetCameraX | GetCameraY | LimitCamera | LimitCameraBounds | PositionCamera | PositionCameraX | PositionCameraY : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |