public class Quaternion extends ValueType
.NET documentation at https://learn.microsoft.com/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=9.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)
Initializes a new instance by invoking the .NET constructor.
|
Quaternion(Vector3 vectorPart,
Single scalarPart)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Quaternion |
Add(Quaternion value1,
Quaternion value2)
Invokes the .NET member Add.
|
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)
Invokes the .NET member Concatenate.
|
static Quaternion |
Conjugate(Quaternion value)
Invokes the .NET member Conjugate.
|
static Quaternion |
CreateFromAxisAngle(Vector3 axis,
Single angle)
Invokes the .NET member CreateFromAxisAngle.
|
static Quaternion |
CreateFromRotationMatrix(Matrix4x4 matrix)
Invokes the .NET member CreateFromRotationMatrix.
|
static Quaternion |
CreateFromYawPitchRoll(Single yaw,
Single pitch,
Single roll)
Invokes the .NET member CreateFromYawPitchRoll.
|
static Quaternion |
Divide(Quaternion value1,
Quaternion value2)
Invokes the .NET member Divide.
|
static Single |
Dot(Quaternion quaternion1,
Quaternion quaternion2)
Invokes the .NET member Dot.
|
boolean |
Equals(Quaternion other)
Invokes the .NET member Equals.
|
static Quaternion |
getIdentity()
Gets the value of the .NET property Identity.
|
boolean |
getIsIdentity()
Gets the value of the .NET property IsIdentity.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static Quaternion |
getZero()
Gets the value of the .NET property Zero.
|
static Quaternion |
Inverse(Quaternion value)
Invokes the .NET member Inverse.
|
Single |
Length()
Invokes the .NET member Length.
|
Single |
LengthSquared()
Invokes the .NET member LengthSquared.
|
static Quaternion |
Lerp(Quaternion quaternion1,
Quaternion quaternion2,
Single amount)
Invokes the .NET member Lerp.
|
static Quaternion |
Multiply(Quaternion value1,
Quaternion value2)
Invokes the .NET member Multiply.
|
static Quaternion |
Multiply(Quaternion value1,
Single value2)
Invokes the .NET member Multiply.
|
static Quaternion |
Negate(Quaternion value)
Invokes the .NET member Negate.
|
static Quaternion |
Normalize(Quaternion value)
Invokes the .NET member Normalize.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static Quaternion |
Slerp(Quaternion quaternion1,
Quaternion quaternion2,
Single amount)
Invokes the .NET member Slerp.
|
static Quaternion |
Subtract(Quaternion value1,
Quaternion value2)
Invokes the .NET member Subtract.
|
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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic Quaternion(Single x, Single y, Single z, Single w) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
x - the argument of type Singley - the argument of type Singlez - the argument of type Singlew - the argument of type Singlejava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic Quaternion(Vector3 vectorPart, Single scalarPart) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
vectorPart - the argument of type Vector3scalarPart - the argument of type Singlejava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static Quaternion Add(Quaternion value1, Quaternion value2) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
value1 - the argument of type Quaternionvalue2 - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic 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
value1 - the argument of type Quaternionvalue2 - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static Quaternion Conjugate(Quaternion value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
value - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion CreateFromAxisAngle(Vector3 axis, Single angle) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
axis - the argument of type Vector3angle - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion CreateFromRotationMatrix(Matrix4x4 matrix) throws java.lang.Throwable
matrix - the argument of type Matrix4x4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Quaternion CreateFromYawPitchRoll(Single yaw, Single pitch, Single roll) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
yaw - the argument of type Singlepitch - the argument of type Singleroll - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static Quaternion Divide(Quaternion value1, Quaternion value2) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
value1 - the argument of type Quaternionvalue2 - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static Single Dot(Quaternion quaternion1, Quaternion quaternion2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
quaternion1 - the argument of type Quaternionquaternion2 - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic boolean Equals(Quaternion other) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
other - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion getIdentity() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic boolean getIsIdentity()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypepublic static Quaternion getZero() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Quaternion Inverse(Quaternion value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
value - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic Single Length() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic Single LengthSquared() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion Lerp(Quaternion quaternion1, Quaternion quaternion2, Single amount) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
quaternion1 - the argument of type Quaternionquaternion2 - the argument of type Quaternionamount - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion Multiply(Quaternion value1, Quaternion value2) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
value1 - the argument of type Quaternionvalue2 - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static Quaternion Multiply(Quaternion value1, Single value2) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
value1 - the argument of type Quaternionvalue2 - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion Negate(Quaternion value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
value - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion Normalize(Quaternion value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
value - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ValueTypeinstance - the new underlying objectpublic static Quaternion Slerp(Quaternion quaternion1, Quaternion quaternion2, Single amount) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
quaternion1 - the argument of type Quaternionquaternion2 - the argument of type Quaternionamount - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion Subtract(Quaternion value1, Quaternion value2) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
value1 - the argument of type Quaternionvalue2 - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises it