文档

Unity Engine

Unity Engine

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

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.