ドキュメント

Unity Engine

Unity Engine

ToPosition2D(Vector3, TransformPlane)

Transform a 3D position into a 2D position using the selected transform plane.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static Vector2 ToPosition2D(Vector3 position, PhysicsWorld.TransformPlane transformPlane = TransformPlane.XY)

Parameters

position

The 3D position to transform.

transformPlane

The transform plane to use.

Returns

Type

Description

Vector2The transformed position.