Add Rotation Limits to the Preview Control's Default Camera. Limit rotation or lock rotation completely.
Limiting rotation prevents people from rotating round the model too far or rotating over the top of a model. You can limit a users interaction with your model.
Property Type: Static
Default Value: No default value is applied to this property.
The values applied to the property are in the order:
Left | Right | Up | Down
All values are in degrees.
A rule can also be built for this property by changing the type to dynamic.
Hierarchical Reference: ControlName.RotationLimits
The following images show how Rotation Limits apply to the Default Camera.
Left and Right allow you to apply an angle in the horizontal direction as the Camera looks at the model.
Up and Down allow you to apply an angle in the vertical direction as the Camera looks at the model.
Rotation Limits are applied from the Camera Default Orientation.
If the Camera Default Orientation is set to 30 degrees vertically and you apply a rotation limit of 30 degrees up and 30 degrees down, then the Camera will be able to travel from 0 to 60 degrees vertically.
The Default Camera has a maximum limit of 90 degrees up and 90 degrees down vertically. The Default Camera Orientation and Rotation Limits cannot exceed 90 degrees.
|Camera Rotation Limits Value||Result|
|90|90|45|45||The Default Camera will rotate 90 degrees left and right but only be able to rotate 45 degrees up and down.|
|0|0|60|0||The Default Camera's rotation left and right will be locked. The Default Camera will only be able to move 60 degrees above the start point.|
Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.