Vector2 Operators

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

The Vector2 type exposes the following members.

Operators

  NameDescription
Public operatorStatic memberAddition
Adds two vectors.
Public operatorStatic memberDivision
Scales a vector by the given value.
Public operatorStatic memberEquality
Tests for equality between two objects.
Public operatorStatic memberInequality
Tests for inequality between two objects.
Public operatorStatic memberMultiply(Single, Vector2)
Scales a vector by the given value.
Public operatorStatic memberMultiply(Vector2, Single)
Scales a vector by the given value.
Public operatorStatic memberSubtraction
Subtracts two vectors.
Public operatorStatic memberUnaryNegation
Reverses the direction of a given vector.
Top
See Also

Reference