|
| Box (LocalBox localBox, Transform withTransform) |
|
| Box (Vector3 center, Vector3 radii, Component transformSource=null) |
|
| Box (Vector3 radii) |
|
| Box (Vector3 radii, Component transformSource) |
|
| Box (float radius) |
|
| Box (float radius, Component transformSource) |
|
Vector3 | Sample (Vector3 coords01) |
| Returns the world-space position of the normalized coordinates (X, Y, Z each from 0 to 1) given this box's radii and attached transform. More...
|
|
void | DrawLines (System.Action< Vector3, Vector3 > drawLineFunc, int divisions=0) |
|
void | Draw (Drawer drawer, Color? color=null) |
|
void | DrawRuntimeGizmos (RuntimeGizmoDrawer drawer) |
|
Definition at line 16 of file Box.cs.
◆ Box() [1/6]
Leap.Unity.Geometry.Box.Box |
( |
LocalBox |
localBox, |
|
|
Transform |
withTransform |
|
) |
| |
◆ Box() [2/6]
Leap.Unity.Geometry.Box.Box |
( |
Vector3 |
center, |
|
|
Vector3 |
radii, |
|
|
Component |
transformSource = null |
|
) |
| |
◆ Box() [3/6]
Leap.Unity.Geometry.Box.Box |
( |
Vector3 |
radii | ) |
|
◆ Box() [4/6]
Leap.Unity.Geometry.Box.Box |
( |
Vector3 |
radii, |
|
|
Component |
transformSource |
|
) |
| |
◆ Box() [5/6]
Leap.Unity.Geometry.Box.Box |
( |
float |
radius | ) |
|
◆ Box() [6/6]
Leap.Unity.Geometry.Box.Box |
( |
float |
radius, |
|
|
Component |
transformSource |
|
) |
| |
◆ Draw()
void Leap.Unity.Geometry.Box.Draw |
( |
Drawer |
drawer, |
|
|
Color? |
color = null |
|
) |
| |
◆ DrawLines()
void Leap.Unity.Geometry.Box.DrawLines |
( |
System.Action< Vector3, Vector3 > |
drawLineFunc, |
|
|
int |
divisions = 0 |
|
) |
| |
◆ DrawRuntimeGizmos()
◆ Sample()
Vector3 Leap.Unity.Geometry.Box.Sample |
( |
Vector3 |
coords01 | ) |
|
Returns the world-space position of the normalized coordinates (X, Y, Z each from 0 to 1) given this box's radii and attached transform.
Definition at line 110 of file Box.cs.
◆ center
Vector3 Leap.Unity.Geometry.Box.center |
◆ overrideMatrix
Matrix4x4? Leap.Unity.Geometry.Box.overrideMatrix |
◆ radii
Vector3 Leap.Unity.Geometry.Box.radii |
◆ transform
Transform Leap.Unity.Geometry.Box.transform |
◆ matrix
Matrix4x4 Leap.Unity.Geometry.Box.matrix |
|
get |
Local-to-world matrix for this Box.
Definition at line 58 of file Box.cs.
◆ unit
Box Leap.Unity.Geometry.Box.unit |
|
staticget |
The documentation for this struct was generated from the following file: