Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Translate

Moves the plane in space by the translation vector.
Read time 1 minuteLast updated 4 days ago

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

translation

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

plane

The plane to move in space.

translation

The offset in space to move the plane with.

Returns

Type

Description

PlaneThe translated plane.