public class Vector4 extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Numerics.Vector4
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=8.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.Vector4
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Vector4() |
Vector4(java.lang.Object instance)
Internal constructor.
|
Vector4(Single value)
Initializes a new instance by invoking the .NET constructor.
|
Vector4(Single x,
Single y,
Single z,
Single w)
Initializes a new instance by invoking the .NET constructor.
|
Vector4(Vector2 value,
Single z,
Single w)
Initializes a new instance by invoking the .NET constructor.
|
Vector4(Vector3 value,
Single w)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Vector4 |
Abs(Vector4 value)
Invokes the .NET member Abs.
|
static Vector4 |
Add(Vector4 left,
Vector4 right)
Invokes the .NET member Add.
|
static Vector4 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Vector4, a cast assert is made to check if types are compatible. |
static Vector4 |
Clamp(Vector4 value1,
Vector4 min,
Vector4 max)
Invokes the .NET member Clamp.
|
void |
CopyTo(Single[] array)
Invokes the .NET member CopyTo.
|
void |
CopyTo(Single[] array,
int index)
Invokes the .NET member CopyTo.
|
static Single |
Distance(Vector4 value1,
Vector4 value2)
Invokes the .NET member Distance.
|
static Single |
DistanceSquared(Vector4 value1,
Vector4 value2)
Invokes the .NET member DistanceSquared.
|
static Vector4 |
Divide(Vector4 left,
Single divisor)
Invokes the .NET member Divide.
|
static Vector4 |
Divide(Vector4 left,
Vector4 right)
Invokes the .NET member Divide.
|
static Single |
Dot(Vector4 vector1,
Vector4 vector2)
Invokes the .NET member Dot.
|
boolean |
Equals(Vector4 other)
Invokes the .NET member Equals.
|
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 Vector4 |
getOne()
Gets the value of the .NET property One.
|
static Vector4 |
getUnitW()
Gets the value of the .NET property UnitW.
|
static Vector4 |
getUnitX()
Gets the value of the .NET property UnitX.
|
static Vector4 |
getUnitY()
Gets the value of the .NET property UnitY.
|
static Vector4 |
getUnitZ()
Gets the value of the .NET property UnitZ.
|
static Vector4 |
getZero()
Gets the value of the .NET property Zero.
|
Single |
Length()
Invokes the .NET member Length.
|
Single |
LengthSquared()
Invokes the .NET member LengthSquared.
|
static Vector4 |
Lerp(Vector4 value1,
Vector4 value2,
Single amount)
Invokes the .NET member Lerp.
|
static Vector4 |
Max(Vector4 value1,
Vector4 value2)
Invokes the .NET member Max.
|
static Vector4 |
Min(Vector4 value1,
Vector4 value2)
Invokes the .NET member Min.
|
static Vector4 |
Multiply(Single left,
Vector4 right)
Invokes the .NET member Multiply.
|
static Vector4 |
Multiply(Vector4 left,
Single right)
Invokes the .NET member Multiply.
|
static Vector4 |
Multiply(Vector4 left,
Vector4 right)
Invokes the .NET member Multiply.
|
static Vector4 |
Negate(Vector4 value)
Invokes the .NET member Negate.
|
static Vector4 |
Normalize(Vector4 vector)
Invokes the .NET member Normalize.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static Vector4 |
SquareRoot(Vector4 value)
Invokes the .NET member SquareRoot.
|
static Vector4 |
Subtract(Vector4 left,
Vector4 right)
Invokes the .NET member Subtract.
|
java.lang.String |
ToString(java.lang.String format)
Invokes the .NET member ToString.
|
java.lang.String |
ToString(java.lang.String format,
IFormatProvider formatProvider)
Invokes the .NET member ToString.
|
static Vector4 |
Transform(Vector2 position,
Matrix4x4 matrix)
Invokes the .NET member Transform.
|
static Vector4 |
Transform(Vector2 value,
Quaternion rotation)
Invokes the .NET member Transform.
|
static Vector4 |
Transform(Vector3 position,
Matrix4x4 matrix)
Invokes the .NET member Transform.
|
static Vector4 |
Transform(Vector3 value,
Quaternion rotation)
Invokes the .NET member Transform.
|
static Vector4 |
Transform(Vector4 vector,
Matrix4x4 matrix)
Invokes the .NET member Transform.
|
static Vector4 |
Transform(Vector4 value,
Quaternion rotation)
Invokes the .NET member Transform.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Vector4()
throws java.lang.Throwable
java.lang.Throwablepublic Vector4(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 Vector4(Single value) throws java.lang.Throwable
value - the argument of type Singlejava.lang.Throwable - if the .NET constructor failspublic Vector4(Single x, Single y, Single z, Single w) throws java.lang.Throwable
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 failspublic Vector4(Vector2 value, Single z, Single w) throws java.lang.Throwable
value - the argument of type Vector2z - the argument of type Singlew - the argument of type Singlejava.lang.Throwable - if the .NET constructor failspublic Vector4(Vector3 value, Single w) throws java.lang.Throwable
value - the argument of type Vector3w - the argument of type Singlejava.lang.Throwable - if the .NET constructor failspublic static Vector4 Abs(Vector4 value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
value - the argument of type Vector4java.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 static Vector4 Add(Vector4 left, Vector4 right) throws java.lang.Throwable
left - the argument of type Vector4right - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Vector4, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedVector4 instancejava.lang.Throwable - in case of error during cast operationpublic static Vector4 Clamp(Vector4 value1, Vector4 min, Vector4 max) throws java.lang.Throwable
value1 - the argument of type Vector4min - the argument of type Vector4max - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void CopyTo(Single[] array) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
array - the argument of type Single[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void CopyTo(Single[] array, int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
array - the argument of type Single[]index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static Single Distance(Vector4 value1, Vector4 value2) throws java.lang.Throwable
value1 - the argument of type Vector4value2 - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single DistanceSquared(Vector4 value1, Vector4 value2) throws java.lang.Throwable
value1 - the argument of type Vector4value2 - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Divide(Vector4 left, Single divisor) throws java.lang.Throwable
left - the argument of type Vector4divisor - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Divide(Vector4 left, Vector4 right) throws java.lang.Throwable
left - the argument of type Vector4right - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Single Dot(Vector4 vector1, Vector4 vector2) throws java.lang.Throwable
vector1 - the argument of type Vector4vector2 - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Equals(Vector4 other) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
other - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - 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 Vector4 getOne() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 getUnitW() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 getUnitX() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 getUnitY() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 getUnitZ() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 getZero() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single Length() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Single LengthSquared() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Lerp(Vector4 value1, Vector4 value2, Single amount) throws java.lang.Throwable
value1 - the argument of type Vector4value2 - the argument of type Vector4amount - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Max(Vector4 value1, Vector4 value2) throws java.lang.Throwable
value1 - the argument of type Vector4value2 - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Min(Vector4 value1, Vector4 value2) throws java.lang.Throwable
value1 - the argument of type Vector4value2 - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Multiply(Single left, Vector4 right) throws java.lang.Throwable
left - the argument of type Singleright - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Multiply(Vector4 left, Single right) throws java.lang.Throwable
left - the argument of type Vector4right - the argument of type Singlejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Multiply(Vector4 left, Vector4 right) throws java.lang.Throwable
left - the argument of type Vector4right - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Negate(Vector4 value) throws java.lang.Throwable
value - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Normalize(Vector4 vector) throws java.lang.Throwable
vector - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ValueTypeinstance - the new underlying objectpublic static Vector4 SquareRoot(Vector4 value) throws java.lang.Throwable
value - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Subtract(Vector4 left, Vector4 right) throws java.lang.Throwable
left - the argument of type Vector4right - the argument of type Vector4java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String ToString(java.lang.String format)
throws java.lang.Throwable,
ArgumentNullException,
OutOfMemoryException,
ArgumentException,
CultureNotFoundException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
InvalidOperationException,
FormatException
format - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic java.lang.String ToString(java.lang.String format,
IFormatProvider formatProvider)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
NotSupportedException,
FormatException,
InvalidOperationException
format - the argument of type java.lang.StringformatProvider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static Vector4 Transform(Vector2 position, Matrix4x4 matrix) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
position - the argument of type Vector2matrix - the argument of type Matrix4x4java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static Vector4 Transform(Vector2 value, Quaternion rotation) throws java.lang.Throwable
value - the argument of type Vector2rotation - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Transform(Vector3 position, Matrix4x4 matrix) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
position - the argument of type Vector3matrix - the argument of type Matrix4x4java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static Vector4 Transform(Vector3 value, Quaternion rotation) throws java.lang.Throwable
value - the argument of type Vector3rotation - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Vector4 Transform(Vector4 vector, Matrix4x4 matrix) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
vector - the argument of type Vector4matrix - the argument of type Matrix4x4java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static Vector4 Transform(Vector4 value, Quaternion rotation) throws java.lang.Throwable
value - the argument of type Vector4rotation - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLR