文档

Unity Engine


User Manual

Script Reference

Unity Engine


GetSeparation(Vector2)

Get the signed separation of a point from a plane.
阅读时间1 分钟最后更新于 25 天前

Definition

public readonly float GetSeparation(Vector2 point)

Parameters

point

The point to check the separation from the plane.

Returns

Type

Description

floatThe signed separation of the point from the plan.