ドキュメント

Unity Engine

Unity Engine

GetPhysicsShapePointCount(int)

Retrieves the number of points in the selected physics shape for the sprite.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int GetPhysicsShapePointCount(int shapeIdx)

Parameters

shapeIdx

The index of the physics shape to retrieve the number of points from.

Returns

Type

Description

intReturns the number of points in the selected physics shape for the sprite.