ClearMinimumsAndMaximums
Last updated
Was this helpful?
ClearMinimumsAndMaximums removes all minimum and maximum X and Y values from the calling Camera.
The following code will set the minimum and maximum values on the Camera, then undo that setting, allowing the Camera to be positioned anywhere:
// Sets the minimum and maximum X values...
Camera.Main.MinimumX = 0;
Camera.Main.MaximumX = 1000;
// ... and this code undoes it:
Camera.Main.ClearMinimumsAndMaximums();Last updated
Was this helpful?
Was this helpful?