Angles Structure |
public struct Angles
The Angles type exposes the following members.
| Name | Description | |
|---|---|---|
| Angles(Angles) | Constructs Euler angles with another specified Angles object. | |
| Angles(Vector3) | Constructs Euler angles with the given Vector3 object. | |
| Angles(Double, Double, Double) | Constructs Euler angles with the given angles of rotation. |
| Name | Description | |
|---|---|---|
| Clamp | Restricts the current instance of Angles to be within a specified range. | |
| Equals(Object) |
Determines whether the specified object is equal to the current instance of Angles.
(Overrides ValueTypeEquals(Object)) | |
| Equals(Angles, Double) | Determines whether the specified Euler angles are equal to the current instance of Angles with a given precision. | |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Normalize180 | Restricts the current instance of Angles to be within a range [-180, 180]. | |
| Normalize360 | Restricts the current instance of Angles to be within a range [0, 360]. | |
| Parse | Converts a string representation of Euler angles into the equivalent Angles structure. | |
| ToAnglesF | Converts the current instance of Angles to the Euler angles of AnglesF format. | |
| ToQuaternion | Converts the current instance of Angles into the equivalent Quaternion structure. | |
| ToString |
Returns a String that represents the current instance of Angles.
(Overrides ValueTypeToString) | |
| ToString(Int32) | Returns a String that represents the current instance of Angles with a given precision. |
| Name | Description | |
|---|---|---|
| Addition(Angles, Angles) | Adds two Euler angles. | |
| Division(Angles, Double) | Divides Euler angles by a given scalar. | |
| Equality(Angles, Angles) | Determines whether two given Euler angles are equal. | |
| Inequality(Angles, Angles) | Determines whether two given Euler angles are unequal. | |
| Multiply(Angles, Double) | Multiplies Euler angles by a given value. | |
| Subtraction(Angles, Angles) | Subtracts Euler angles. | |
| UnaryNegation(Angles) | Negates Euler angles. |
| Name | Description | |
|---|---|---|
| Pitch | The angle of rotation about the Y axis in degrees. | |
| Roll | The angle of rotation about the X axis in degrees. | |
| Yaw | The angle of rotation about the Z axis in degrees. | |
| Zero | Returns the Euler angles with all of its components set to zero. |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |