Package system.numerics
Class Matrix4x4
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.numerics.Matrix4x4
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Matrix4x4 extends ValueType
The base .NET class managing System.Numerics.Matrix4x4, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e.See: https://docs.microsoft.com/en-us/dotnet/api/System.Numerics.Matrix4x4
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic String
assemblyShortName
Assembly name: System.Private.CoreLibstatic String
className
Qualified class name: System.Numerics.Matrix4x4static JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description Matrix4x4()
Matrix4x4(Object instance)
Internal constructor.Matrix4x4(Matrix3x2 value)
Matrix4x4(Single m11, Single m12, Single m13, Single m14, Single m21, Single m22, Single m23, Single m24, Single m31, Single m32, Single m33, Single m34, Single m41, Single m42, Single m43, Single m44)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Matrix4x4
Add(Matrix4x4 value1, Matrix4x4 value2)
static Matrix4x4
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoMatrix4x4
, a cast assert is made to check if types are compatible.static Matrix4x4
CreateBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3 cameraForwardVector)
static Matrix4x4
CreateConstrainedBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 rotateAxis, Vector3 cameraForwardVector, Vector3 objectForwardVector)
static Matrix4x4
CreateFromAxisAngle(Vector3 axis, Single angle)
static Matrix4x4
CreateFromQuaternion(Quaternion quaternion)
static Matrix4x4
CreateFromYawPitchRoll(Single yaw, Single pitch, Single roll)
static Matrix4x4
CreateLookAt(Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector)
static Matrix4x4
CreateOrthographic(Single width, Single height, Single zNearPlane, Single zFarPlane)
static Matrix4x4
CreateOrthographicOffCenter(Single left, Single right, Single bottom, Single top, Single zNearPlane, Single zFarPlane)
static Matrix4x4
CreatePerspective(Single width, Single height, Single nearPlaneDistance, Single farPlaneDistance)
static Matrix4x4
CreatePerspectiveFieldOfView(Single fieldOfView, Single aspectRatio, Single nearPlaneDistance, Single farPlaneDistance)
static Matrix4x4
CreatePerspectiveOffCenter(Single left, Single right, Single bottom, Single top, Single nearPlaneDistance, Single farPlaneDistance)
static Matrix4x4
CreateReflection(Plane value)
static Matrix4x4
CreateRotationX(Single radians)
static Matrix4x4
CreateRotationX(Single radians, Vector3 centerPoint)
static Matrix4x4
CreateRotationY(Single radians)
static Matrix4x4
CreateRotationY(Single radians, Vector3 centerPoint)
static Matrix4x4
CreateRotationZ(Single radians)
static Matrix4x4
CreateRotationZ(Single radians, Vector3 centerPoint)
static Matrix4x4
CreateScale(Vector3 scales)
static Matrix4x4
CreateScale(Vector3 scales, Vector3 centerPoint)
static Matrix4x4
CreateScale(Single scale)
static Matrix4x4
CreateScale(Single scale, Vector3 centerPoint)
static Matrix4x4
CreateScale(Single xScale, Single yScale, Single zScale)
static Matrix4x4
CreateScale(Single xScale, Single yScale, Single zScale, Vector3 centerPoint)
static Matrix4x4
CreateShadow(Vector3 lightDirection, Plane plane)
static Matrix4x4
CreateTranslation(Vector3 position)
static Matrix4x4
CreateTranslation(Single xPosition, Single yPosition, Single zPosition)
static Matrix4x4
CreateWorld(Vector3 position, Vector3 forward, Vector3 up)
static boolean
Decompose(Matrix4x4 matrix, JCORefOut<Vector3> scale, JCORefOut<Quaternion> rotation, JCORefOut<Vector3> translation)
boolean
Equals(Matrix4x4 other)
Single
GetDeterminant()
static Matrix4x4
getIdentity()
boolean
getIsIdentity()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeVector3
getTranslation()
static boolean
Invert(Matrix4x4 matrix, JCORefOut<Matrix4x4> result)
static Matrix4x4
Lerp(Matrix4x4 matrix1, Matrix4x4 matrix2, Single amount)
static Matrix4x4
Multiply(Matrix4x4 value1, Matrix4x4 value2)
static Matrix4x4
Multiply(Matrix4x4 value1, Single value2)
static Matrix4x4
Negate(Matrix4x4 value)
void
setJCOInstance(JCObject instance)
void
setTranslation(Vector3 Translation)
static Matrix4x4
Subtract(Matrix4x4 value1, Matrix4x4 value2)
static Matrix4x4
Transform(Matrix4x4 value, Quaternion rotation)
static Matrix4x4
Transpose(Matrix4x4 matrix)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Numerics.Matrix4x4- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Matrix4x4
public Matrix4x4(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
Matrix4x4
public Matrix4x4(Single m11, Single m12, Single m13, Single m14, Single m21, Single m22, Single m23, Single m24, Single m31, Single m32, Single m33, Single m34, Single m41, Single m42, Single m43, Single m44) throws Throwable
- Throws:
Throwable
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classValueType
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Matrix4x4 cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoMatrix4x4
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Matrix4x4
instance- Throws:
Throwable
- in case of error during cast operation
-
Decompose
public static boolean Decompose(Matrix4x4 matrix, JCORefOut<Vector3> scale, JCORefOut<Quaternion> rotation, JCORefOut<Vector3> translation) throws Throwable
- Throws:
Throwable
-
Equals
public boolean Equals(Matrix4x4 other) throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Invert
public static boolean Invert(Matrix4x4 matrix, JCORefOut<Matrix4x4> result) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
Add
public static Matrix4x4 Add(Matrix4x4 value1, Matrix4x4 value2) throws Throwable
- Throws:
Throwable
-
CreateBillboard
public static Matrix4x4 CreateBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3 cameraForwardVector) throws Throwable
- Throws:
Throwable
-
CreateConstrainedBillboard
public static Matrix4x4 CreateConstrainedBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 rotateAxis, Vector3 cameraForwardVector, Vector3 objectForwardVector) throws Throwable
- Throws:
Throwable
-
CreateFromAxisAngle
public static Matrix4x4 CreateFromAxisAngle(Vector3 axis, Single angle) throws Throwable
- Throws:
Throwable
-
CreateFromQuaternion
public static Matrix4x4 CreateFromQuaternion(Quaternion quaternion) throws Throwable
- Throws:
Throwable
-
CreateFromYawPitchRoll
public static Matrix4x4 CreateFromYawPitchRoll(Single yaw, Single pitch, Single roll) throws Throwable
- Throws:
Throwable
-
CreateLookAt
public static Matrix4x4 CreateLookAt(Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector) throws Throwable
- Throws:
Throwable
-
CreateOrthographic
public static Matrix4x4 CreateOrthographic(Single width, Single height, Single zNearPlane, Single zFarPlane) throws Throwable
- Throws:
Throwable
-
CreateOrthographicOffCenter
public static Matrix4x4 CreateOrthographicOffCenter(Single left, Single right, Single bottom, Single top, Single zNearPlane, Single zFarPlane) throws Throwable
- Throws:
Throwable
-
CreatePerspective
public static Matrix4x4 CreatePerspective(Single width, Single height, Single nearPlaneDistance, Single farPlaneDistance) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
CreatePerspectiveFieldOfView
public static Matrix4x4 CreatePerspectiveFieldOfView(Single fieldOfView, Single aspectRatio, Single nearPlaneDistance, Single farPlaneDistance) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
CreatePerspectiveOffCenter
public static Matrix4x4 CreatePerspectiveOffCenter(Single left, Single right, Single bottom, Single top, Single nearPlaneDistance, Single farPlaneDistance) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
CreateReflection
public static Matrix4x4 CreateReflection(Plane value) throws Throwable
- Throws:
Throwable
-
CreateRotationX
public static Matrix4x4 CreateRotationX(Single radians, Vector3 centerPoint) throws Throwable
- Throws:
Throwable
-
CreateRotationX
public static Matrix4x4 CreateRotationX(Single radians) throws Throwable
- Throws:
Throwable
-
CreateRotationY
public static Matrix4x4 CreateRotationY(Single radians, Vector3 centerPoint) throws Throwable
- Throws:
Throwable
-
CreateRotationY
public static Matrix4x4 CreateRotationY(Single radians) throws Throwable
- Throws:
Throwable
-
CreateRotationZ
public static Matrix4x4 CreateRotationZ(Single radians, Vector3 centerPoint) throws Throwable
- Throws:
Throwable
-
CreateRotationZ
public static Matrix4x4 CreateRotationZ(Single radians) throws Throwable
- Throws:
Throwable
-
CreateScale
public static Matrix4x4 CreateScale(Single xScale, Single yScale, Single zScale, Vector3 centerPoint) throws Throwable
- Throws:
Throwable
-
CreateScale
public static Matrix4x4 CreateScale(Single xScale, Single yScale, Single zScale) throws Throwable
- Throws:
Throwable
-
CreateScale
public static Matrix4x4 CreateScale(Single scale, Vector3 centerPoint) throws Throwable
- Throws:
Throwable
-
CreateScale
public static Matrix4x4 CreateScale(Vector3 scales, Vector3 centerPoint) throws Throwable
- Throws:
Throwable
-
CreateShadow
public static Matrix4x4 CreateShadow(Vector3 lightDirection, Plane plane) throws Throwable
- Throws:
Throwable
-
CreateTranslation
public static Matrix4x4 CreateTranslation(Single xPosition, Single yPosition, Single zPosition) throws Throwable
- Throws:
Throwable
-
CreateTranslation
public static Matrix4x4 CreateTranslation(Vector3 position) throws Throwable
- Throws:
Throwable
-
CreateWorld
public static Matrix4x4 CreateWorld(Vector3 position, Vector3 forward, Vector3 up) throws Throwable
- Throws:
Throwable
-
Lerp
public static Matrix4x4 Lerp(Matrix4x4 matrix1, Matrix4x4 matrix2, Single amount) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException
-
Multiply
public static Matrix4x4 Multiply(Matrix4x4 value1, Single value2) throws Throwable, PlatformNotSupportedException
-
Multiply
public static Matrix4x4 Multiply(Matrix4x4 value1, Matrix4x4 value2) throws Throwable
- Throws:
Throwable
-
Negate
public static Matrix4x4 Negate(Matrix4x4 value) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException
-
Subtract
public static Matrix4x4 Subtract(Matrix4x4 value1, Matrix4x4 value2) throws Throwable
- Throws:
Throwable
-
Transform
public static Matrix4x4 Transform(Matrix4x4 value, Quaternion rotation) throws Throwable
- Throws:
Throwable
-
-