기술 자료

Unity Engine

Unity Engine

GetDensity()

Get the shape density. See PhysicsBody.massConfiguration.
읽는 시간 1분최근 업데이트: 21일 전

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public float GetDensity()

Returns

Type

Description

floatThe density of the shape.