public class Quaternion extends ValueType
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Numerics.Quaternion
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Numerics.Quaternion
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Quaternion() |
Quaternion(java.lang.Object instance)
Internal constructor.
|
Quaternion(Single x,
Single y,
Single z,
Single w) |
Quaternion(Vector3 vectorPart,
Single scalarPart) |
| Modifier and Type | Method and Description |
|---|---|
static Quaternion |
Add(Quaternion value1,
Quaternion value2) |
static Quaternion |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Quaternion, a cast assert is made to check if types are compatible. |
static Quaternion |
Concatenate(Quaternion value1,
Quaternion value2) |
static Quaternion |
Conjugate(Quaternion value) |
static Quaternion |
Create(Single x,
Single y,
Single z,
Single w) |
static Quaternion |
Create(Vector3 vectorPart,
Single scalarPart) |
static Quaternion |
CreateFromAxisAngle(Vector3 axis,
Single angle) |
static Quaternion |
CreateFromRotationMatrix(Matrix4x4 matrix) |
static Quaternion |
CreateFromYawPitchRoll(Single yaw,
Single pitch,
Single roll) |
static Quaternion |
Divide(Quaternion value1,
Quaternion value2) |
static Single |
Dot(Quaternion quaternion1,
Quaternion quaternion2) |
boolean |
Equals(Quaternion other) |
static Quaternion |
getIdentity() |
boolean |
getIsIdentity() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static Quaternion |
getZero() |
static Quaternion |
Inverse(Quaternion value) |
Single |
Length() |
Single |
LengthSquared() |
static Quaternion |
Lerp(Quaternion quaternion1,
Quaternion quaternion2,
Single amount) |
static Quaternion |
Multiply(Quaternion value1,
Quaternion value2) |
static Quaternion |
Multiply(Quaternion value1,
Single value2) |
static Quaternion |
Negate(Quaternion value) |
static Quaternion |
Normalize(Quaternion value) |
void |
setJCOInstance(JCObject instance) |
static Quaternion |
Slerp(Quaternion quaternion1,
Quaternion quaternion2,
Single amount) |
static Quaternion |
Subtract(Quaternion value1,
Quaternion value2) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Quaternion()
throws java.lang.Throwable
java.lang.Throwablepublic Quaternion(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Quaternion(Single x, Single y, Single z, Single w) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic Quaternion(Vector3 vectorPart, Single scalarPart) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static Quaternion Add(Quaternion value1, Quaternion value2) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Quaternion cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Quaternion, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedQuaternion instancejava.lang.Throwable - in case of error during cast operationpublic static Quaternion Concatenate(Quaternion value1, Quaternion value2) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static Quaternion Conjugate(Quaternion value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static Quaternion Create(Single x, Single y, Single z, Single w) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static Quaternion Create(Vector3 vectorPart, Single scalarPart) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static Quaternion CreateFromAxisAngle(Vector3 axis, Single angle) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static Quaternion CreateFromRotationMatrix(Matrix4x4 matrix) throws java.lang.Throwable
java.lang.Throwablepublic static Quaternion CreateFromYawPitchRoll(Single yaw, Single pitch, Single roll) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static Quaternion Divide(Quaternion value1, Quaternion value2) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static Single Dot(Quaternion quaternion1, Quaternion quaternion2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic boolean Equals(Quaternion other) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static Quaternion getIdentity() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic boolean getIsIdentity()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic static Quaternion getZero() throws java.lang.Throwable
java.lang.Throwablepublic static Quaternion Inverse(Quaternion value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic Single Length() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic Single LengthSquared() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Quaternion Lerp(Quaternion quaternion1, Quaternion quaternion2, Single amount) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static Quaternion Multiply(Quaternion value1, Quaternion value2) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static Quaternion Multiply(Quaternion value1, Single value2) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Quaternion Negate(Quaternion value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Quaternion Normalize(Quaternion value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic static Quaternion Slerp(Quaternion quaternion1, Quaternion quaternion2, Single amount) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Quaternion Subtract(Quaternion value1, Quaternion value2) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedException