Vector2
unityengine.Vector2 (extern class)
Unity Vector2 struct extern binding for Ceramic. Represents 2D vectors and points with x and y components.
Commonly used for 2D positions, directions, velocities, and texture coordinates in Unity. This minimal binding provides the properties and constructor used by Ceramic.
Instance Members
The x component of the vector. Read-only in this binding.
The y component of the vector. Read-only in this binding.
Creates a new Vector2 with the given x and y components.
Name | Type | Description |
---|---|---|
x |
Single | The x component |
y |
Single | The y component |
Metadata
Name | Parameters |
---|---|
:nativeGen |
- |