Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPhysicsOutlinePointCount(int)

Retrieves the number of points in the selected physics outline for the sprite.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int GetPhysicsOutlinePointCount(int outlineIndex)

Parameters

outlineIndex

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

Returns

Type

Description

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