Package system.numerics
Class Vector4
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.numerics.Vector4
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Vector4 extends ValueType
The base .NET class managing System.Numerics.Vector4, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Numerics.Vector4
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.String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.Numerics.Vector4static JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Vector4
Abs(Vector4 value)
static Vector4
Add(Vector4 left, Vector4 right)
static Vector4
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoVector4
, a cast assert is made to check if types are compatible.static Vector4
Clamp(Vector4 value1, Vector4 min, Vector4 max)
void
CopyTo(Single[] array)
void
CopyTo(Single[] array, int index)
static Single
Distance(Vector4 value1, Vector4 value2)
static Single
DistanceSquared(Vector4 value1, Vector4 value2)
static Vector4
Divide(Vector4 left, Vector4 right)
static Vector4
Divide(Vector4 left, Single divisor)
static Single
Dot(Vector4 vector1, Vector4 vector2)
boolean
Equals(Vector4 other)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typestatic Vector4
getOne()
static Vector4
getUnitW()
static Vector4
getUnitX()
static Vector4
getUnitY()
static Vector4
getUnitZ()
static Vector4
getZero()
Single
Length()
Single
LengthSquared()
static Vector4
Lerp(Vector4 value1, Vector4 value2, Single amount)
static Vector4
Max(Vector4 value1, Vector4 value2)
static Vector4
Min(Vector4 value1, Vector4 value2)
static Vector4
Multiply(Vector4 left, Vector4 right)
static Vector4
Multiply(Vector4 left, Single right)
static Vector4
Multiply(Single left, Vector4 right)
static Vector4
Negate(Vector4 value)
static Vector4
Normalize(Vector4 vector)
void
setJCOInstance(JCObject instance)
static Vector4
SquareRoot(Vector4 value)
static Vector4
Subtract(Vector4 left, Vector4 right)
java.lang.String
ToString(java.lang.String format)
java.lang.String
ToString(java.lang.String format, IFormatProvider formatProvider)
static Vector4
Transform(Vector2 position, Matrix4x4 matrix)
static Vector4
Transform(Vector2 value, Quaternion rotation)
static Vector4
Transform(Vector3 position, Matrix4x4 matrix)
static Vector4
Transform(Vector3 value, Quaternion rotation)
static Vector4
Transform(Vector4 vector, Matrix4x4 matrix)
static Vector4
Transform(Vector4 value, Quaternion rotation)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Numerics.Vector4- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Vector4
public Vector4(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
Vector4
public Vector4() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Vector4
public Vector4(Single x, Single y, Single z, Single w) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Vector4
public Vector4(Single value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Vector4
public Vector4(Vector2 value, Single z, Single w) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.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 java.lang.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 java.lang.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 java.lang.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 Vector4 cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoVector4
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Vector4
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Equals
public boolean Equals(Vector4 other) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Distance
public static Single Distance(Vector4 value1, Vector4 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
DistanceSquared
public static Single DistanceSquared(Vector4 value1, Vector4 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Dot
public static Single Dot(Vector4 vector1, Vector4 vector2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Length
public Single Length() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
LengthSquared
public Single LengthSquared() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Abs
public static Vector4 Abs(Vector4 value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Add
public static Vector4 Add(Vector4 left, Vector4 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Clamp
public static Vector4 Clamp(Vector4 value1, Vector4 min, Vector4 max) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Divide
public static Vector4 Divide(Vector4 left, Single divisor) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Divide
public static Vector4 Divide(Vector4 left, Vector4 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Lerp
public static Vector4 Lerp(Vector4 value1, Vector4 value2, Single amount) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Max
public static Vector4 Max(Vector4 value1, Vector4 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Min
public static Vector4 Min(Vector4 value1, Vector4 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Vector4 Multiply(Single left, Vector4 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Vector4 Multiply(Vector4 left, Single right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Vector4 Multiply(Vector4 left, Vector4 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Negate
public static Vector4 Negate(Vector4 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Normalize
public static Vector4 Normalize(Vector4 vector) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SquareRoot
public static Vector4 SquareRoot(Vector4 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Subtract
public static Vector4 Subtract(Vector4 left, Vector4 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public static Vector4 Transform(Vector2 position, Matrix4x4 matrix) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Transform
public static Vector4 Transform(Vector2 value, Quaternion rotation) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public static Vector4 Transform(Vector3 position, Matrix4x4 matrix) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Transform
public static Vector4 Transform(Vector3 value, Quaternion rotation) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public static Vector4 Transform(Vector4 vector, Matrix4x4 matrix) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Transform
public static Vector4 Transform(Vector4 value, Quaternion rotation) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToString
public java.lang.String ToString(java.lang.String format, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, FormatException, InvalidOperationException
-
ToString
public java.lang.String ToString(java.lang.String format) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, FormatException
-
CopyTo
public void CopyTo(Single[] array, int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
CopyTo
public void CopyTo(Single[] array) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getOne
public static Vector4 getOne() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnitW
public static Vector4 getUnitW() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnitX
public static Vector4 getUnitX() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnitY
public static Vector4 getUnitY() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnitZ
public static Vector4 getUnitZ() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getZero
public static Vector4 getZero() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-