Translate
Moves the plane in space by the translation vector.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Translate(Vector3)
Moves the plane in space by the translation vector.
public void Translate(Vector3 translation)
Parameters
The offset in space to move the plane with.
Translate(Plane, Vector3)
Returns a copy of the given plane that is moved in space by the given translation.
public static Plane Translate(Plane plane, Vector3 translation)
Parameters
Returns
Type | Description |
|---|---|
| Plane | The translated plane. |