Assembly: AnyPath.dll
Constructors
Declaration
public Triangle(Vector3 a, Vector3 b, Vector3 c)
Parameters
Type |
Name |
Description |
Vector3 |
a |
|
Vector3 |
b |
|
Vector3 |
c |
|
Fields
Declaration
Field Value
Declaration
Field Value
Declaration
Field Value
Properties
Declaration
public float3 Centroid { get; }
Property Value
Declaration
public float3 Normal { get; }
Property Value
Methods
Declaration
public float3 ClosestPoint(float3 p)
Parameters
Type |
Name |
Description |
float3 |
p |
|
Returns
Declaration
public bool IsDegenerate()
Returns
Declaration
public float3 ProjectPointOntoPlane(float3 point)
Parameters
Type |
Name |
Description |
float3 |
point |
|
Returns
Declaration
public bool Raycast(Ray ray, out float hitT)
Parameters
Type |
Name |
Description |
Ray |
ray |
|
float |
hitT |
|
Returns
Declaration
public bool Raycast(Ray ray, out float3 point)
Parameters
Type |
Name |
Description |
Ray |
ray |
|
float3 |
point |
|
Returns
Extension Methods