SampSharp
SampSharp
SampSharp.Entities.SAMP
Vector2 Structure
Vector2 Operators
Addition Operator
Division Operator
Equality Operator
Inequality Operator
Multiply Operator
Subtraction Operator
UnaryNegation Operator
Vector2
Addition Operator
Adds the left
Vector2
's components to the right
Vector2
's components and stores it in a new
Vector2
.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
static
Vector2
operator
+
(
Vector2
left
,
Vector2
right
)
Parameters
left
Type:
SampSharp.Entities.SAMP
Vector2
A
Vector2
.
right
Type:
SampSharp.Entities.SAMP
Vector2
A
Vector2
.
Return Value
Type:
Vector2
A new
Vector2
.
See Also
Reference
Vector2 Structure
SampSharp.Entities.SAMP Namespace