Click or drag to resize

Angles Structure

Represents double precision Euler angles.
Inheritance Hierarchy
SystemObject
  SystemValueType
    NeoAxisAngles

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public struct Angles

The Angles type exposes the following members.

Constructors
 NameDescription
Public methodAngles(Angles) Constructs Euler angles with another specified Angles object.
Public methodAngles(Vector3) Constructs Euler angles with the given Vector3 object.
Public methodAngles(Double, Double, Double) Constructs Euler angles with the given angles of rotation.
Top
Properties
 NameDescription
Public propertyItem Gets or sets the component at the specified index.
Top
Methods
 NameDescription
Public methodClamp Restricts the current instance of Angles to be within a specified range.
Public methodEquals(Object) Determines whether the specified object is equal to the current instance of Angles.
(Overrides ValueTypeEquals(Object))
Public methodEquals(Angles, Double) Determines whether the specified Euler angles are equal to the current instance of Angles with a given precision.
Public methodGetHashCode Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodNormalize180 Restricts the current instance of Angles to be within a range [-180, 180].
Public methodNormalize360 Restricts the current instance of Angles to be within a range [0, 360].
Public methodStatic memberParse Converts a string representation of Euler angles into the equivalent Angles structure.
Public methodToAnglesF Converts the current instance of Angles to the Euler angles of AnglesF format.
Public methodToQuaternion Converts the current instance of Angles into the equivalent Quaternion structure.
Public methodToString Returns a String that represents the current instance of Angles.
(Overrides ValueTypeToString)
Public methodToString(Int32) Returns a String that represents the current instance of Angles with a given precision.
Top
Operators
 NameDescription
Public operatorStatic memberAddition(Angles, Angles) Adds two Euler angles.
Public operatorStatic memberDivision(Angles, Double) Divides Euler angles by a given scalar.
Public operatorStatic memberEquality(Angles, Angles) Determines whether two given Euler angles are equal.
Public operatorStatic memberInequality(Angles, Angles) Determines whether two given Euler angles are unequal.
Public operatorStatic memberMultiply(Angles, Double) Multiplies Euler angles by a given value.
Public operatorStatic memberSubtraction(Angles, Angles) Subtracts Euler angles.
Public operatorStatic memberUnaryNegation(Angles) Negates Euler angles.
Top
Fields
 NameDescription
Public fieldPitch The angle of rotation about the Y axis in degrees.
Public fieldRoll The angle of rotation about the X axis in degrees.
Public fieldYaw The angle of rotation about the Z axis in degrees.
Public fieldStatic memberZero Returns the Euler angles with all of its components set to zero.
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also