My Project
Loading...
Searching...
No Matches
CameraController.RotationLimits Struct Reference
Inheritance diagram for CameraController.RotationLimits:

Public Member Functions

 RotationLimits (float minAngle, float maxAngle, bool wrap)
void OnAfterDeserialize ()
void OnBeforeSerialize ()

Properties

readonly float MinAngle [get]
 The smallest allowed angle of the rotation.
readonly float MaxAngle [get]
 The largest allowed angle of the rotation.
readonly bool Wrap [get]
 Should the rotation continue when reaching a limit.

Private Attributes

float minAngleValue
float maxAngleValue
bool wrap
float preserializedMinAngle
float preserializedMaxAngle

The documentation for this struct was generated from the following file:
  • CameraController/Script/Camera/Parameters/RotationLimits.cs