Table of Contents

Method ClosestPoint

Namespace
Box3D
Assembly
Box3D.NET.dll

ClosestPoint(Vector3)

Returns the closest point inside this box to a target.

public Vector3 ClosestPoint(Vector3 point)

Parameters

point Vector3

The target point.

Returns

Vector3

The closest point, which is the target itself when it lies inside.