Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Projection(float3)

Projects the given point onto the plane.
Read time 1 minuteLast updated 12 days ago

Definition

public float3 Projection(float3 point)

Parameters

point

Point to project onto the plane.

Returns

Type

Description

float3Projected point that's inside the plane.

Remarks

Plane must be normalized prior to calling this function. The result is the position closest to the point that still lies in the plane.