LockRange
Summary
This function will lock the visual range between specified minimum and maximum values.
Parameters
Minimum
Type: Float Default: 0
The minimum distance for visual range to be locked to. The camera can be no closer than this amount to the viewed asset.
Maximum
Type: Float Default: 100
The maximum distance for the visual range to be locked to. The camera can be no further away than this amount to the viewed asset.
See Also
Examples
<lockrange Minimum="50" Maximum="80"/> <waitforclick Caption="Please observe the scene" /> <unlockrange/>
This code will lock the range of the camera within 50 and 80 units of distance while prompting the user with a message. Once they click next, the range will be unlocked as normal.