Package system.numerics
Class Vector3
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.numerics.Vector3
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Vector3 extends ValueType
The base .NET class managing System.Numerics.Vector3, 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.Vector3
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.Vector3static JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Vector3
Abs(Vector3 value)
static Vector3
Add(Vector3 left, Vector3 right)
static Vector3
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoVector3
, a cast assert is made to check if types are compatible.static Vector3
Clamp(Vector3 value1, Vector3 min, Vector3 max)
void
CopyTo(Single[] array)
void
CopyTo(Single[] array, int index)
static Vector3
Cross(Vector3 vector1, Vector3 vector2)
static Single
Distance(Vector3 value1, Vector3 value2)
static Single
DistanceSquared(Vector3 value1, Vector3 value2)
static Vector3
Divide(Vector3 left, Vector3 right)
static Vector3
Divide(Vector3 left, Single divisor)
static Single
Dot(Vector3 vector1, Vector3 vector2)
boolean
Equals(Vector3 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 Vector3
getOne()
static Vector3
getUnitX()
static Vector3
getUnitY()
static Vector3
getUnitZ()
static Vector3
getZero()
Single
Length()
Single
LengthSquared()
static Vector3
Lerp(Vector3 value1, Vector3 value2, Single amount)
static Vector3
Max(Vector3 value1, Vector3 value2)
static Vector3
Min(Vector3 value1, Vector3 value2)
static Vector3
Multiply(Vector3 left, Vector3 right)
static Vector3
Multiply(Vector3 left, Single right)
static Vector3
Multiply(Single left, Vector3 right)
static Vector3
Negate(Vector3 value)
static Vector3
Normalize(Vector3 value)
static Vector3
Reflect(Vector3 vector, Vector3 normal)
void
setJCOInstance(JCObject instance)
static Vector3
SquareRoot(Vector3 value)
static Vector3
Subtract(Vector3 left, Vector3 right)
java.lang.String
ToString(java.lang.String format)
java.lang.String
ToString(java.lang.String format, IFormatProvider formatProvider)
static Vector3
Transform(Vector3 position, Matrix4x4 matrix)
static Vector3
Transform(Vector3 value, Quaternion rotation)
static Vector3
TransformNormal(Vector3 normal, Matrix4x4 matrix)
-
-
-
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.Vector3- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Vector3
public Vector3(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
Vector3
public Vector3() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Vector3
public Vector3(Single x, Single y, Single z) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Vector3
public Vector3(Single value) 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 Vector3 cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoVector3
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Vector3
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Equals
public boolean Equals(Vector3 other) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
Distance
public static Single Distance(Vector3 value1, Vector3 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
DistanceSquared
public static Single DistanceSquared(Vector3 value1, Vector3 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Dot
public static Single Dot(Vector3 vector1, Vector3 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 Vector3 Abs(Vector3 value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
-
Add
public static Vector3 Add(Vector3 left, Vector3 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Clamp
public static Vector3 Clamp(Vector3 value1, Vector3 min, Vector3 max) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Cross
public static Vector3 Cross(Vector3 vector1, Vector3 vector2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Divide
public static Vector3 Divide(Vector3 left, Single divisor) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Divide
public static Vector3 Divide(Vector3 left, Vector3 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Lerp
public static Vector3 Lerp(Vector3 value1, Vector3 value2, Single amount) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Max
public static Vector3 Max(Vector3 value1, Vector3 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Min
public static Vector3 Min(Vector3 value1, Vector3 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Vector3 Multiply(Single left, Vector3 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Vector3 Multiply(Vector3 left, Single right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Vector3 Multiply(Vector3 left, Vector3 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Negate
public static Vector3 Negate(Vector3 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Normalize
public static Vector3 Normalize(Vector3 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Reflect
public static Vector3 Reflect(Vector3 vector, Vector3 normal) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SquareRoot
public static Vector3 SquareRoot(Vector3 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Subtract
public static Vector3 Subtract(Vector3 left, Vector3 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public static Vector3 Transform(Vector3 position, Matrix4x4 matrix) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Transform
public static Vector3 Transform(Vector3 value, Quaternion rotation) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
TransformNormal
public static Vector3 TransformNormal(Vector3 normal, Matrix4x4 matrix) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
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 Vector3 getOne() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnitX
public static Vector3 getUnitX() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnitY
public static Vector3 getUnitY() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnitZ
public static Vector3 getUnitZ() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getZero
public static Vector3 getZero() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-