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.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Numerics.Matrix4x4
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Numericsstatic java.lang.StringclassNameQualified class name: System.Numerics.Matrix4x4static JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description Matrix4x4()Matrix4x4(java.lang.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 Matrix4x4Add(Matrix4x4 value1, Matrix4x4 value2)static Matrix4x4cast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoMatrix4x4, a cast assert is made to check if types are compatible.static Matrix4x4CreateBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3 cameraForwardVector)static Matrix4x4CreateConstrainedBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 rotateAxis, Vector3 cameraForwardVector, Vector3 objectForwardVector)static Matrix4x4CreateFromAxisAngle(Vector3 axis, Single angle)static Matrix4x4CreateFromQuaternion(Quaternion quaternion)static Matrix4x4CreateFromYawPitchRoll(Single yaw, Single pitch, Single roll)static Matrix4x4CreateLookAt(Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector)static Matrix4x4CreateOrthographic(Single width, Single height, Single zNearPlane, Single zFarPlane)static Matrix4x4CreateOrthographicOffCenter(Single left, Single right, Single bottom, Single top, Single zNearPlane, Single zFarPlane)static Matrix4x4CreatePerspective(Single width, Single height, Single nearPlaneDistance, Single farPlaneDistance)static Matrix4x4CreatePerspectiveFieldOfView(Single fieldOfView, Single aspectRatio, Single nearPlaneDistance, Single farPlaneDistance)static Matrix4x4CreatePerspectiveOffCenter(Single left, Single right, Single bottom, Single top, Single nearPlaneDistance, Single farPlaneDistance)static Matrix4x4CreateReflection(Plane value)static Matrix4x4CreateRotationX(Single radians)static Matrix4x4CreateRotationX(Single radians, Vector3 centerPoint)static Matrix4x4CreateRotationY(Single radians)static Matrix4x4CreateRotationY(Single radians, Vector3 centerPoint)static Matrix4x4CreateRotationZ(Single radians)static Matrix4x4CreateRotationZ(Single radians, Vector3 centerPoint)static Matrix4x4CreateScale(Vector3 scales)static Matrix4x4CreateScale(Vector3 scales, Vector3 centerPoint)static Matrix4x4CreateScale(Single scale)static Matrix4x4CreateScale(Single scale, Vector3 centerPoint)static Matrix4x4CreateScale(Single xScale, Single yScale, Single zScale)static Matrix4x4CreateScale(Single xScale, Single yScale, Single zScale, Vector3 centerPoint)static Matrix4x4CreateShadow(Vector3 lightDirection, Plane plane)static Matrix4x4CreateTranslation(Vector3 position)static Matrix4x4CreateTranslation(Single xPosition, Single yPosition, Single zPosition)static Matrix4x4CreateWorld(Vector3 position, Vector3 forward, Vector3 up)static booleanDecompose(Matrix4x4 matrix, JCORefOut<Vector3> scale, JCORefOut<Quaternion> rotation, JCORefOut<Vector3> translation)booleanEquals(Matrix4x4 other)SingleGetDeterminant()static Matrix4x4getIdentity()booleangetIsIdentity()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeVector3getTranslation()static booleanInvert(Matrix4x4 matrix, JCORefOut<Matrix4x4> result)static Matrix4x4Lerp(Matrix4x4 matrix1, Matrix4x4 matrix2, Single amount)static Matrix4x4Multiply(Matrix4x4 value1, Matrix4x4 value2)static Matrix4x4Multiply(Matrix4x4 value1, Single value2)static Matrix4x4Negate(Matrix4x4 value)voidsetJCOInstance(JCObject instance)voidsetTranslation(Vector3 Translation)static Matrix4x4Subtract(Matrix4x4 value1, Matrix4x4 value2)static Matrix4x4Transform(Matrix4x4 value, Quaternion rotation)static Matrix4x4Transpose(Matrix4x4 matrix)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Numerics- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Numerics.Matrix4x4- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Matrix4x4
public Matrix4x4(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
Matrix4x4
public Matrix4x4() throws java.lang.Throwable- Throws:
java.lang.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 java.lang.Throwable
- Throws:
java.lang.Throwable
-
Matrix4x4
public Matrix4x4(Matrix3x2 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classValueType- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Matrix4x4 cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoMatrix4x4, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Matrix4x4instance- Throws:
java.lang.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 java.lang.Throwable
- Throws:
java.lang.Throwable
-
Equals
public boolean Equals(Matrix4x4 other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Invert
public static boolean Invert(Matrix4x4 matrix, JCORefOut<Matrix4x4> result) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetDeterminant
public Single GetDeterminant() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
public static Matrix4x4 Add(Matrix4x4 value1, Matrix4x4 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateBillboard
public static Matrix4x4 CreateBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3 cameraForwardVector) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateConstrainedBillboard
public static Matrix4x4 CreateConstrainedBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 rotateAxis, Vector3 cameraForwardVector, Vector3 objectForwardVector) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateFromAxisAngle
public static Matrix4x4 CreateFromAxisAngle(Vector3 axis, Single angle) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateFromQuaternion
public static Matrix4x4 CreateFromQuaternion(Quaternion quaternion) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateFromYawPitchRoll
public static Matrix4x4 CreateFromYawPitchRoll(Single yaw, Single pitch, Single roll) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateLookAt
public static Matrix4x4 CreateLookAt(Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateOrthographic
public static Matrix4x4 CreateOrthographic(Single width, Single height, Single zNearPlane, Single zFarPlane) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateOrthographicOffCenter
public static Matrix4x4 CreateOrthographicOffCenter(Single left, Single right, Single bottom, Single top, Single zNearPlane, Single zFarPlane) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreatePerspective
public static Matrix4x4 CreatePerspective(Single width, Single height, Single nearPlaneDistance, Single farPlaneDistance) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
CreatePerspectiveFieldOfView
public static Matrix4x4 CreatePerspectiveFieldOfView(Single fieldOfView, Single aspectRatio, Single nearPlaneDistance, Single farPlaneDistance) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
CreatePerspectiveOffCenter
public static Matrix4x4 CreatePerspectiveOffCenter(Single left, Single right, Single bottom, Single top, Single nearPlaneDistance, Single farPlaneDistance) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
CreateReflection
public static Matrix4x4 CreateReflection(Plane value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateRotationX
public static Matrix4x4 CreateRotationX(Single radians) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateRotationX
public static Matrix4x4 CreateRotationX(Single radians, Vector3 centerPoint) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateRotationY
public static Matrix4x4 CreateRotationY(Single radians) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateRotationY
public static Matrix4x4 CreateRotationY(Single radians, Vector3 centerPoint) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateRotationZ
public static Matrix4x4 CreateRotationZ(Single radians) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateRotationZ
public static Matrix4x4 CreateRotationZ(Single radians, Vector3 centerPoint) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateScale
public static Matrix4x4 CreateScale(Single scale) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateScale
public static Matrix4x4 CreateScale(Single xScale, Single yScale, Single zScale) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateScale
public static Matrix4x4 CreateScale(Single xScale, Single yScale, Single zScale, Vector3 centerPoint) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateScale
public static Matrix4x4 CreateScale(Single scale, Vector3 centerPoint) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateScale
public static Matrix4x4 CreateScale(Vector3 scales) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateScale
public static Matrix4x4 CreateScale(Vector3 scales, Vector3 centerPoint) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateShadow
public static Matrix4x4 CreateShadow(Vector3 lightDirection, Plane plane) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateTranslation
public static Matrix4x4 CreateTranslation(Single xPosition, Single yPosition, Single zPosition) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateTranslation
public static Matrix4x4 CreateTranslation(Vector3 position) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateWorld
public static Matrix4x4 CreateWorld(Vector3 position, Vector3 forward, Vector3 up) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Lerp
public static Matrix4x4 Lerp(Matrix4x4 matrix1, Matrix4x4 matrix2, Single amount) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Matrix4x4 Multiply(Matrix4x4 value1, Single value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Matrix4x4 Multiply(Matrix4x4 value1, Matrix4x4 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Negate
public static Matrix4x4 Negate(Matrix4x4 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Subtract
public static Matrix4x4 Subtract(Matrix4x4 value1, Matrix4x4 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public static Matrix4x4 Transform(Matrix4x4 value, Quaternion rotation) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transpose
public static Matrix4x4 Transpose(Matrix4x4 matrix) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsIdentity
public boolean getIsIdentity() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIdentity
public static Matrix4x4 getIdentity() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTranslation
public Vector3 getTranslation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTranslation
public void setTranslation(Vector3 Translation) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-