Vector2 Constructor (Single, Single)

RAGE Plugin Hook Documentation

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

Initializes a new instance of the Vector2 class.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public Vector2(
	float x,
	float y
)

Parameters

x
Type: SystemSingle
Initial value for the X component of the vector.
y
Type: SystemSingle
Initial value for the Y component of the vector.
See Also

Reference