|
LimitCamera | ||
LimitCamera CameraIndex, Flag | ||
Parameters: CameraIndex = The index of the camera you wish to limit Flag = On / Off flag to toggle to auto limit this cameras movement |
||
Returns: NONE | ||
LimitCamera when enabled will limit cameras movement to within a user defined region. You can define the actauly region by using the LimitCameraBounds command. FACTS: * By default camera limiting is turned off when a camera is created. * When camera limiting is enabled, the camera can not move outside the bounds of the region defined by the LimitCameraBounds 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 users defined movement region
This example would output.
|
Related Info: | GetCameraLimitX1 | GetCameraLimitX2 | GetCameraLimitY1 | GetCameraLimitY2 | LimitCameraBounds | MoveCamera | PositionCamera | PositionCameraX | PositionCameraY : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |