Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SameSide

Are two points on the same side of the plane?
Read time 1 minuteLast updated 4 days ago

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