|
LimitCameraBounds | ||
LimitCameraBounds CameraIndex, x1, y1, x2, y2 | ||
Parameters: CameraIndex = The index of the camera you wish to limit x1 = The Left hand side limit y1 = The Top limit x2 = The Right hand side limit y2 = The Bottom limit |
||
Returns: NONE | ||
LimitCameraBounds defines the bounds of cameras movement when LimitCamera is enabled. When camera limiting is enabled, the camera can not be able to move outside the bounds of the LimitCameraBounds region. FACTS: * By default camera limiting is turned off when a camera is created. It can be activated using the LimitCamera command. Mini Tutorial: This example creates a camera, then limits it's movement to within a region. The main Do/Loop allows the user to move the camera around, while being limited to the predefined region
This example would output.
|
Related Info: | LimitCamera | MoveCamera | PositionCamera | PositionCameraX | PositionCameraY : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |