기술 자료

Unity Engine

Unity Engine

drawDepth

The depth this body is drawn at, in world space, along the axis perpendicular to the world's transform plane.
읽는 시간 1분최근 업데이트: 23일 전

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public float drawDepth { readonly get; set; }

Remarks

The depth is only used when the body has no PhysicsBody.transformObject. See PhysicsBody.drawDepth.