Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Represents a mutable vector4 value with component-wise arithmetic semantics.

API: scripting
Implements: System.IEquatable<InnoEngine.Mathematics.Vector4>
Inherits: System.ValueType
Project: Inno.Core.Mathematics
Scope: Runtime

public struct InnoEngine.Mathematics.Vector4 : System.IEquatable<InnoEngine.Mathematics.Vector4>
Kind Element Description
Constructors Vector4.Constructor Creates a vector from explicit component values.
Fields Vector4.ONE A value whose components are all one.
Fields Vector4.UNIT_W A unit value aligned with the w axis.
Fields Vector4.UNIT_X A unit value aligned with the x axis.
Fields Vector4.UNIT_Y A unit value aligned with the y axis.
Fields Vector4.UNIT_Z A unit value aligned with the z axis.
Fields Vector4.w The homogeneous or fourth component.
Fields Vector4.x The horizontal or first component.
Fields Vector4.y The vertical or second component.
Fields Vector4.z The depth or third component.
Fields Vector4.ZERO A value whose components are all zero.
Methods Vector4.Dot Calculates the scalar dot product of two values.
Methods Vector4.Equals(InnoEngine.Mathematics.Vector4) Determines whether this value and the supplied value represent the same logical state.
Methods Vector4.Equals(System.Object) Determines whether this value and the supplied value represent the same logical state.
Methods Vector4.GetHashCode Computes a hash code consistent with the implemented equality contract.
Methods Vector4.Length Calculates the Euclidean magnitude of this value.
Methods Vector4.LengthSquared Calculates the squared Euclidean magnitude without a square-root operation.
Methods Vector4.Lerp Interpolates linearly after clamping the interpolation factor to [0, 1].
Methods Vector4.op_Addition Adds the supplied values component by component.
Methods Vector4.op_Division Divides the supplied value by the scalar divisor component by component.
Methods Vector4.op_Equality Determines whether the supplied values are equal under the type’s equality tolerance.
Methods Vector4.op_Implicit(InnoEngine.Mathematics.Vector4)~System.Numerics.Vector4 Converts the supplied value to T:System.Numerics.Vector4.
Methods Vector4.op_Implicit(System.Numerics.Vector4)~InnoEngine.Mathematics.Vector4 Converts the supplied value to T:InnoEngine.Mathematics.Vector4.
Methods Vector4.op_Inequality Determines whether the supplied values differ under the type’s equality tolerance.
Methods Vector4.op_Multiply(InnoEngine.Mathematics.Matrix,InnoEngine.Mathematics.Vector4) Multiplies the supplied values according to their algebraic contract.
Methods Vector4.op_Multiply(InnoEngine.Mathematics.Vector4,System.Single) Multiplies the supplied values according to their algebraic contract.
Methods Vector4.op_Multiply(System.Single,InnoEngine.Mathematics.Vector4) Multiplies the supplied values according to their algebraic contract.
Methods Vector4.op_Subtraction Subtracts or negates the supplied value component by component.
Methods Vector4.op_UnaryNegation Subtracts or negates the supplied value component by component.
Methods Vector4.ProjectToVector3 Projects the supplied value onto the requested dimensional space.
Methods Vector4.Reflect Reflects an incident value across the supplied normal.
Methods Vector4.ToString Formats this value as a human-readable component list.
Methods Vector4.Transform Transforms the supplied value by the requested transformation.
Properties Vector4.normalized Gets a unit-length copy, or the zero value when normalization is undefined.