Definition at line 20 of file Rect.cs.
◆ Rect() [1/4]
Leap.Unity.Geometry.Rect.Rect |
( |
LocalRect |
localRect, |
|
|
Transform |
transform |
|
) |
| |
◆ Rect() [2/4]
Leap.Unity.Geometry.Rect.Rect |
( |
Vector3 |
center, |
|
|
Vector2 |
radii, |
|
|
Transform |
transform = null |
|
) |
| |
◆ Rect() [3/4]
Leap.Unity.Geometry.Rect.Rect |
( |
Vector3 |
center, |
|
|
float |
radius, |
|
|
Transform |
transform = null |
|
) |
| |
◆ Rect() [4/4]
Leap.Unity.Geometry.Rect.Rect |
( |
Vector2 |
radii, |
|
|
Transform |
transform = null |
|
) |
| |
◆ ContainsProjectedPoint() [1/2]
bool Leap.Unity.Geometry.Rect.ContainsProjectedPoint |
( |
Vector3 |
point | ) |
|
Returns whether the given world-space point projects inside this Rect. Optionally also outputs the calculated rect-space point to point_rect.
Definition at line 93 of file Rect.cs.
◆ ContainsProjectedPoint() [2/2]
bool Leap.Unity.Geometry.Rect.ContainsProjectedPoint |
( |
Vector3 |
point, |
|
|
out Vector3 |
point_rect |
|
) |
| |
Returns whether the given world-space point projects inside this Rect. Optionally also outputs the calculated rect-space point to point_rect.
Definition at line 101 of file Rect.cs.
◆ DrawLines()
void Leap.Unity.Geometry.Rect.DrawLines |
( |
Action< Vector3, Vector3 > |
drawLineFunc, |
|
|
int |
divisions = 0 |
|
) |
| |
◆ DrawRuntimeGizmos()
◆ center
Vector3 Leap.Unity.Geometry.Rect.center |
◆ DEFAULT_GIZMO_COLOR
readonly Color Leap.Unity.Geometry.Rect.DEFAULT_GIZMO_COLOR = LeapColor.cerulean |
|
static |
◆ overrideMatrix
Matrix4x4? Leap.Unity.Geometry.Rect.overrideMatrix |
◆ PLANE_NORMAL
readonly Vector3 Leap.Unity.Geometry.Rect.PLANE_NORMAL = new Vector3(0, 0, -1) |
|
static |
◆ radii
Vector2 Leap.Unity.Geometry.Rect.radii |
◆ transform
Transform Leap.Unity.Geometry.Rect.transform |
◆ corners
◆ localCorner00
Vector3 Leap.Unity.Geometry.Rect.localCorner00 |
|
get |
◆ localCorner01
Vector3 Leap.Unity.Geometry.Rect.localCorner01 |
|
get |
◆ localCorner10
Vector3 Leap.Unity.Geometry.Rect.localCorner10 |
|
get |
◆ localCorner11
Vector3 Leap.Unity.Geometry.Rect.localCorner11 |
|
get |
◆ localCorners
◆ localSegments
◆ matrix
Matrix4x4 Leap.Unity.Geometry.Rect.matrix |
|
get |
Local-to-world matrix for this Rect. (Read only.)
Definition at line 53 of file Rect.cs.
◆ pose
Pose Leap.Unity.Geometry.Rect.pose |
|
get |
Local-to-world pose for the center of this Rect. (Read only.)
This extracts a Pose from the attached matrix, eliminating scale information.
Definition at line 70 of file Rect.cs.
◆ segments
The documentation for this struct was generated from the following file: