Translate
Moves the plane in space by the translation vector.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Translate(Vector3)
Moves the plane in space by the vector.
translationpublic void Translate(Vector3 translation)
Parameters
The offset in space to move the plane with.
Translate(Vector3)
Moves the plane in space by the vector.
translationpublic void Translate(in 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 .
translationpublic static Plane Translate(Plane plane, Vector3 translation)
Parameters
Returns
Type | Description |
|---|---|
| Plane | The translated plane. |
Translate(Plane, Vector3)
Returns a copy of the given plane that is moved in space by the given .
translationpublic static Plane Translate(in Plane plane, in Vector3 translation)
Parameters
Returns
Type | Description |
|---|---|
| Plane | The translated plane. |