Tanoda
|
Public Member Functions | |
LocalSegment3 (Vector3 a, Vector3 b) | |
float | Parameterize (Vector3 pointOnSegment) |
Given a point on the segment, parameterizes that point into a value such that a + (b - a).magnitude * value = b. More... | |
Vector3 | Evaluate (float t) |
LocalSegment3 | Transform (Matrix4x4 m, bool fullMultiply=false) |
float | Intersect (Rect rect) |
Returns the squared distance between this line segment and the rect. More... | |
void | DrawRuntimeGizmos (RuntimeGizmoDrawer drawer) |
Public Attributes | |
Vector3 | a |
Vector3 | b |
Definition at line 17 of file LocalSegment3.cs.
Leap.Unity.Geometry.LocalSegment3.LocalSegment3 | ( | Vector3 | a, |
Vector3 | b | ||
) |
Definition at line 21 of file LocalSegment3.cs.
void Leap.Unity.Geometry.LocalSegment3.DrawRuntimeGizmos | ( | RuntimeGizmoDrawer | drawer | ) |
Definition at line 62 of file LocalSegment3.cs.
Vector3 Leap.Unity.Geometry.LocalSegment3.Evaluate | ( | float | t | ) |
Definition at line 35 of file LocalSegment3.cs.
float Leap.Unity.Geometry.LocalSegment3.Intersect | ( | Rect | rect | ) |
Returns the squared distance between this line segment and the rect.
Definition at line 54 of file LocalSegment3.cs.
float Leap.Unity.Geometry.LocalSegment3.Parameterize | ( | Vector3 | pointOnSegment | ) |
Given a point on the segment, parameterizes that point into a value such that a + (b - a).magnitude * value = b.
Definition at line 30 of file LocalSegment3.cs.
LocalSegment3 Leap.Unity.Geometry.LocalSegment3.Transform | ( | Matrix4x4 | m, |
bool | fullMultiply = false |
||
) |
Definition at line 40 of file LocalSegment3.cs.
Vector3 Leap.Unity.Geometry.LocalSegment3.a |
Definition at line 19 of file LocalSegment3.cs.
Vector3 Leap.Unity.Geometry.LocalSegment3.b |
Definition at line 19 of file LocalSegment3.cs.