| Angles Structure | 
Namespace: NeoAxis
 Syntax
Syntaxpublic struct Angles
The Angles type exposes the following members.
 Constructors
Constructors| 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.
             | 
 Properties
Properties Methods
Methods| 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.
             | 
 Operators
Operators| Name | Description | |
|---|---|---|
|   | Addition | 
            Adds two Euler angles.
             | 
|   | Division | 
            Divides Euler angles by a given scalar.
             | 
|   | Equality | 
            Determines whether two given Euler angles are equal.
             | 
|   | Inequality | 
            Determines whether two given Euler angles are unequal.
             | 
|   | Multiply | 
            Multiplies Euler angles by a given value.
             | 
|   | Subtraction | 
            Subtracts Euler angles.
             | 
|   | UnaryNegation | 
            Negates Euler angles.
             | 
 Fields
Fields| 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.
             | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | MethodInvoke | 
            Calls the object method by name.
            (Defined by ObjectEx.) | 
|  | PropertyGet(String, Object, Boolean) | Overloaded. 
            Gets the value of the object property by name.
            (Defined by ObjectEx.) | 
|  | PropertyGetT(String, Object, Boolean) | Overloaded. 
            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.) | 
 See Also
See Also