文档

Unity Engine

Unity Engine

SameSide

Are two points on the same side of the plane?
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

SameSide(Vector3, Vector3)

Are two points on the same side of the plane?
public readonly bool SameSide(Vector3 inPt0, Vector3 inPt1)

Parameters

inPt0


inPt1

Returns

Type

Description

bool

SameSide(Vector3, Vector3)

Are two points on the same side of the plane?
public readonly bool SameSide(in Vector3 inPt0, in Vector3 inPt1)

Parameters

inPt0


inPt1

Returns

Type

Description

bool