implicit operator Translate
Implicitly converts a Vector3 to a Translate, with the resulting value specified in pixels.
阅读时间1 分钟最后更新于 1 个月前
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 |