Surface.Project
Method
Description:
Project a 3D point orthogonally onto a surface (to find the nearest point). Throws InvalidOperationException if the projection fails.
Project a 3D point orthogonally onto a surface (to find the nearest point). Throws InvalidOperationException if the projection fails.
Parameters
| Parameter | Type | Description |
|---|---|---|
| point | XYZ | The point to project. |
| uv | UV | The surface coordinates of the projected point. |
| distance | Double | Holds the distance from input point to its projection. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The projection failed. |