Synced
Vector3
Section titled “Vector3”
- Represents a mutable vector3 value with component-wise arithmetic semantics.
Required contracts
Section titled “Required contracts”API: scripting
Implements: System.IEquatable<InnoEngine.Mathematics.Vector3>
Inherits: System.ValueType
Project: Inno.Core.Mathematics
Scope: Runtime
Declaration
Section titled “Declaration”public struct InnoEngine.Mathematics.Vector3 : System.IEquatable<InnoEngine.Mathematics.Vector3>Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | Vector3.Constructor | Creates a vector from explicit component values. |
| Fields | Vector3.BACK | The back value used as part of this type’s public representation. |
| Fields | Vector3.DOWN | The down value used as part of this type’s public representation. |
| Fields | Vector3.FORWARD | The forward value used as part of this type’s public representation. |
| Fields | Vector3.LEFT | The left value used as part of this type’s public representation. |
| Fields | Vector3.ONE | A value whose components are all one. |
| Fields | Vector3.RIGHT | The right value used as part of this type’s public representation. |
| Fields | Vector3.UP | The up value used as part of this type’s public representation. |
| Fields | Vector3.x | The horizontal or first component. |
| Fields | Vector3.y | The vertical or second component. |
| Fields | Vector3.z | The depth or third component. |
| Fields | Vector3.ZERO | A value whose components are all zero. |
| Methods | Vector3.Angle | Calculates the unsigned angle in radians between two values. |
| Methods | Vector3.Cross | Calculates the vector perpendicular to both supplied vectors. |
| Methods | Vector3.Distance | Calculates the Euclidean distance between two points. |
| Methods | Vector3.Dot | Calculates the scalar dot product of two values. |
| Methods | Vector3.Equals(InnoEngine.Mathematics.Vector3) | Determines whether this value and the supplied value represent the same logical state. |
| Methods | Vector3.Equals(System.Object) | Determines whether this value and the supplied value represent the same logical state. |
| Methods | Vector3.GetHashCode | Computes a hash code consistent with the implemented equality contract. |
| Methods | Vector3.Length | Calculates the Euclidean magnitude of this value. |
| Methods | Vector3.LengthSquared | Calculates the squared Euclidean magnitude without a square-root operation. |
| Methods | Vector3.Lerp | Interpolates linearly after clamping the interpolation factor to [0, 1]. |
| Methods | Vector3.NormalizeSafe | Returns a unit-length value while handling degenerate input according to the method contract. |
| Methods | Vector3.op_Addition | Adds the supplied values component by component. |
| Methods | Vector3.op_Division | Divides the supplied value by the scalar divisor component by component. |
| Methods | Vector3.op_Equality | Determines whether the supplied values are equal under the type’s equality tolerance. |
| Methods | Vector3.op_Implicit(InnoEngine.Mathematics.Vector3)~System.Numerics.Vector3 | Converts the supplied value to T:System.Numerics.Vector3. |
| Methods | Vector3.op_Implicit(System.Numerics.Vector3)~InnoEngine.Mathematics.Vector3 | Converts the supplied value to T:InnoEngine.Mathematics.Vector3. |
| Methods | Vector3.op_Inequality | Determines whether the supplied values differ under the type’s equality tolerance. |
| Methods | Vector3.op_Multiply(InnoEngine.Mathematics.Vector3,System.Single) | Multiplies the supplied values according to their algebraic contract. |
| Methods | Vector3.op_Multiply(System.Single,InnoEngine.Mathematics.Vector3) | Multiplies the supplied values according to their algebraic contract. |
| Methods | Vector3.op_Subtraction | Subtracts or negates the supplied value component by component. |
| Methods | Vector3.op_UnaryNegation | Subtracts or negates the supplied value component by component. |
| Methods | Vector3.Project | Projects the supplied value onto the requested dimensional space. |
| Methods | Vector3.Reflect | Reflects an incident value across the supplied normal. |
| Methods | Vector3.SignedAngle | Calculates the signed angle in radians from one value to another. |
| Methods | Vector3.ToString | Formats this value as a human-readable component list. |
| Methods | Vector3.Transform(InnoEngine.Mathematics.Vector3,InnoEngine.Mathematics.Matrix) | Transforms a position as a column vector with an implicit homogeneous coordinate of one. |
| Methods | Vector3.Transform(InnoEngine.Mathematics.Vector3,InnoEngine.Mathematics.Quaternion) | Transforms the supplied value by the requested transformation. |
| Methods | Vector3.TransformNormal | Applies the matrix’s upper-left 3-by-3 linear transform without translation. |
| Properties | Vector3.normalized | Gets a unit-length copy, or the zero value when normalization is undefined. |