Struct NuiVector
Represents a 2D vector in NUI coordinate space.
public readonly struct NuiVector : IEquatable<NuiVector>
- Implements
- Inherited Members
- Extension Methods
Constructors
- NuiVector(float, float)
Represents a 2D vector in NUI coordinate space.
Fields
- X
Gets the horizontal component of the vector.
- Y
Gets the vertical component of the vector.
Methods
- Equals(NuiVector)
Indicates whether this vector is equal to another.
- Equals(object?)
Indicates whether this instance is equal to a specified object.
- GetHashCode()
Returns a hash code for this vector.
Operators
- operator +(NuiVector, NuiVector)
Adds two NuiVector values.
- operator ==(NuiVector, NuiVector)
Determines whether two NuiVector values are equal.
- operator !=(NuiVector, NuiVector)
Determines whether two NuiVector values are not equal.
- operator -(NuiVector, NuiVector)
Subtracts one NuiVector from another.