implicit operator Translate
Implicitly converts a Vector3 to a Translate, with the resulting value specified in pixels.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Operator
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
implicit operator Translate(Translat)
Implicitly converts a Vector3 to a Translate, with the resulting value specified in pixels.
public static implicit operator Translate(Vector3 v)
Parameters
Returns
Type | Description |
|---|---|
| Translate |
implicit operator Translate(Translat)
Implicitly converts a Vector2 to a Translate, with the resulting value specified in pixels and the z value set to .
0public static implicit operator Translate(Vector2 v)
Parameters
Returns
Type | Description |
|---|---|
| Translate |