vec2.x: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
|type = property | |type = property | ||
|class = Vec2 | |class = Vec2 | ||
|name = x | |||
|readonly = false | |readonly = false | ||
|returnTypes = float | |returnTypes = float | ||
|usage = fetch or set the X component of the 2D vector | |usage = fetch or set the X component of the 2D vector | ||
|returnInfo = a floating-point number representing the X component of the 2D vector | |returnInfo = a floating-point number representing the X component of the 2D vector | ||
}} | }} |
Latest revision as of 22:45, 17 November 2022
Property
Server and Client
Online and Offline
Read and Set
Available since Server 1.0.0, Client 1.0.0
float vec2.x
The vec2.x property is used to fetch or set the X component of the 2D vector.
Value
float | A floating-point number representing the X component of the 2D vector. |
read/set | This property can be changed, as well as read. |
Types
Shared
Vec2
Notes
There aren't any notes for this property.
Examples
There aren't any examples for this property.
Compatibility
There isn't any compatibility information for this property.