기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


GetPerimeterProjected(Vector2)

Get the length of the perimeter of the shape projected onto the specified axis.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public float GetPerimeterProjected(Vector2 axis)

Parameters

The axis to project the perimeter of the shape.

Returns

Type

Description

floatThe length of the perimeter of the shape projected onto the specified axis.