ドキュメント

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(Vector3)

Moves the plane in space by the
translation
vector.
public void Translate(in 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.

Translate(Plane, Vector3)

Returns a copy of the given plane that is moved in space by the given
translation
.
public static Plane Translate(in Plane plane, in 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.