FQuaternion Class

Single precision floating-point Quaternion.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2613.4238
C#
public class FQuaternion
Inheritance
Object    FQuaternion

Constructors

FQuaternion Create a new Instance of the FQuaternion object.
FQuaternion(FVector3, Single) Create a new Instance of the FQuaternion object.
FQuaternion(Single, Single, Single, Single) Create a new Instance of the FQuaternion object.

Properties

W Get/Set the value of the W coordinate.
X Get/Set the value of the X coordinate.
Y Get/Set the value of the Y coordinate.
Z Get/Set the value of the Z coordinate.

Methods

Add Add two quaternions and return the result.
Clone Create and return a deep copy of the specified quaternion.
Concatenate Concatenate the first quaternion rotation onto the second one.
Conjugate Return the conjugate of the quaternion, which is to say the negation of the imaginary parts only.
Divide Divide the divisor by the supplied dividend and return the result in a new quaternion.
Dot Return the dot product of two quaternions.
Equals Return a value indicating whether this item's members are equal to the members of the caller's item.
(Overrides ObjectEquals(Object))
Finalize
(Inherited from Object)
FromAxisAngle Create a quaternion from an arbitrary axis and an angle.
FromEuler Return the reference to a quaternion that has been created from a vector with Tait-Euler angles.
FromPitchRollYaw Return the reference to a quaternion that has been created from pitch, roll, and yaw navigational values.
FromXRotation Create and return a new quaternion from a single X rotation.
FromYRotation Create and return a new quaternion from a single Y rotation.
FromZRotation Create and return a new quaternion from a single Z rotation.
GetHashCode Return the unique hash code for this instance.
(Overrides ObjectGetHashCode)
GetType
(Inherited from Object)
Identity Return an identity Quaterion value, which indicates zero rotation.
Inverse Return the inverse of the caller's quaternion.
IsIdentity Return a value indicating whether the supplied quaternion has an identity value.
Length Return the length of the supplied quaternion.
Lerp Return a quaternion representing the linear interpolation between the two supplied quaternions.
MagnitudeSquared Return the magnitude of the quaternion squared.
MemberwiseClone
(Inherited from Object)
Multiply(FQuaternion, FQuaternion) Multiply the values of two quaternions and return the result to the caller in a new quaternion.
Multiply(FQuaternion, Single) Multiply a quaternion by a scalar value and return the result in a new quaternion.
Negate Return a negated version of the supplied quaternion.
Normalize Return a normalized version of the supplied quaternion.
OnCoordinateChanged Raise the CoordinateChanged event whenever coordinates have changed.
Set Set the properties of the specified quaternion through an abbreviated method.
SetIdentity Clear the contents of the provided quaternion, setting its value to that of identity.
SLerp Return the specified Spherical Linear Interpolation value between the two provided quaternions.
Subtract Subtract the second quaternion from the first, returning the result as a new quaternion.
ToAxisAngle Return the arbitrary axis vector and associated angle from the caller's quaternion.
ToEuler Return a vector containing Tait-Euler angles representing the specified quaternion.
ToPitchRollYaw Return a vector where the values represent the Euler rotations of the caller's quaternion.
ToString Return the string representation of this object.
(Overrides ObjectToString)
TransferValues Transfer the values of the source quaternion to the target.

Events

CoordinateChanged Fired when the value of a coordinate has changed.

Operators

Addition(FQuaternion, FQuaternion) Return the result of the addition of two quaternions.
Division(FQuaternion, FQuaternion) Return the result of one quaternion divided by the other.
Equality(FQuaternion, FQuaternion) Return a value indicating whether values of two quaternions are equal.
Inequality(FQuaternion, FQuaternion) Return a value indicating whether values of two quaternions are not equal.
Multiply(FQuaternion, FQuaternion) Return the result of two quaternions multiplied by one another.
Multiply(FQuaternion, FVector3) Return the result of a quaternion multiplied by a vector.
Multiply(FQuaternion, Single) Return the result of a quaternion multiplied by a scalar value.
Multiply(Single, FQuaternion) Return the result of a quaternion multiplied by a scalar.
Subtraction(FQuaternion, FQuaternion) Return the result of one quaternion subtracted from another.
UnaryNegation(FQuaternion) Return the result of the caller's quaternion values negated.

See Also