Creates a new
Vector2 that contains a maximal values from the two vectors.
Namespace: SampSharp.GameModeAssembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntaxpublic static Vector2 Max(
Vector2 value1,
Vector2 value2
)
Public Shared Function Max (
value1 As Vector2,
value2 As Vector2
) As Vector2
Parameters
- value1
- Type: SampSharp.GameModeVector2
The first vector. - value2
- Type: SampSharp.GameModeVector2
The second vector.
Return Value
Type:
Vector2The
Vector2 with maximal values from the two vectors.
See Also