ドキュメント

Unity Engine

Unity Engine

SetElementDepth3D(Vector3)

Set the element depth using the specified 3D position. The relevant axis will be extracted using the current PhysicsWorld.transformPlane. If PhysicsWorld.TransformPlane.Custom is used, the element depth is always set to zero. For more details, see PhysicsWorld.elementDepth.
読み終わるまでの所要時間 1 分最終更新 25日前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void SetElementDepth3D(Vector3 position)

Parameters

position

The 3D position to extract the element depth from.