|
static Bipyramid | ModelBone (Vector3 a, Vector3 b, int polySegments=4, float lengthFraction=0.38f, float? radiusFraction=0.0125f, float? absoluteRadius=null, Transform transform=null, Matrix4x4? overrideMatrix=null) |
| Rig model bone defaults for a bipyramid. Can override any of the parameters like a normal bipyramid constructor. More...
|
|
static Bipyramid | ThinArrow (Vector3 a, Vector3 b, int polySegments=4, float lengthFraction=0.3f, float? radiusFraction=null, float? absoluteRadius=0.005f, Transform transform=null, Matrix4x4? overrideMatrix=null) |
| Thin directed arrow, good for adding directionality to an edge between two points. Can override any of the parameters like a normal bipyramid constructor. More...
|
|
static Bipyramid | Arrowhead (Vector3 a, Vector3 b, int polySegments=6, float lengthFraction=0.38f, float? radiusFraction=0.16f, float? absoluteRadius=null, Transform transform=null, Matrix4x4? overrideMatrix=null) |
| Arrowhead defaults for a bipyramid. Can override any of the parameters like a normal bipyramid constructor. More...
|
|
Definition at line 13 of file Bipyramid.cs.
◆ Bipyramid()
Leap.Unity.Geometry.Bipyramid.Bipyramid |
( |
Vector3 |
a, |
|
|
Vector3 |
b, |
|
|
int |
polySegments = 6 , |
|
|
float |
lengthFraction = 0.5f , |
|
|
float? |
radiusFraction = null , |
|
|
float? |
absoluteRadius = null , |
|
|
Transform |
transform = null , |
|
|
Matrix4x4? |
overrideMatrix = null |
|
) |
| |
◆ Arrowhead()
static Bipyramid Leap.Unity.Geometry.Bipyramid.Arrowhead |
( |
Vector3 |
a, |
|
|
Vector3 |
b, |
|
|
int |
polySegments = 6 , |
|
|
float |
lengthFraction = 0.38f , |
|
|
float? |
radiusFraction = 0.16f , |
|
|
float? |
absoluteRadius = null , |
|
|
Transform |
transform = null , |
|
|
Matrix4x4? |
overrideMatrix = null |
|
) |
| |
|
static |
Arrowhead defaults for a bipyramid. Can override any of the parameters like a normal bipyramid constructor.
Definition at line 78 of file Bipyramid.cs.
◆ DrawLines()
void Leap.Unity.Geometry.Bipyramid.DrawLines |
( |
System.Action< Vector3, Vector3 > |
drawLine | ) |
|
◆ ModelBone()
static Bipyramid Leap.Unity.Geometry.Bipyramid.ModelBone |
( |
Vector3 |
a, |
|
|
Vector3 |
b, |
|
|
int |
polySegments = 4 , |
|
|
float |
lengthFraction = 0.38f , |
|
|
float? |
radiusFraction = 0.0125f , |
|
|
float? |
absoluteRadius = null , |
|
|
Transform |
transform = null , |
|
|
Matrix4x4? |
overrideMatrix = null |
|
) |
| |
|
static |
Rig model bone defaults for a bipyramid. Can override any of the parameters like a normal bipyramid constructor.
Definition at line 51 of file Bipyramid.cs.
◆ ThinArrow()
static Bipyramid Leap.Unity.Geometry.Bipyramid.ThinArrow |
( |
Vector3 |
a, |
|
|
Vector3 |
b, |
|
|
int |
polySegments = 4 , |
|
|
float |
lengthFraction = 0.3f , |
|
|
float? |
radiusFraction = null , |
|
|
float? |
absoluteRadius = 0.005f , |
|
|
Transform |
transform = null , |
|
|
Matrix4x4? |
overrideMatrix = null |
|
) |
| |
|
static |
Thin directed arrow, good for adding directionality to an edge between two points. Can override any of the parameters like a normal bipyramid constructor.
Definition at line 65 of file Bipyramid.cs.
Vector3 Leap.Unity.Geometry.Bipyramid.a |
◆ absoluteRadius
float? Leap.Unity.Geometry.Bipyramid.absoluteRadius |
Vector3 Leap.Unity.Geometry.Bipyramid.b |
◆ lengthFraction
float Leap.Unity.Geometry.Bipyramid.lengthFraction |
◆ polySegments
int Leap.Unity.Geometry.Bipyramid.polySegments |
◆ radiusFraction
float? Leap.Unity.Geometry.Bipyramid.radiusFraction |
◆ transform
Transform Leap.Unity.Geometry.Bipyramid.transform |
◆ matrix
Matrix4x4 Leap.Unity.Geometry.Bipyramid.matrix |
|
get |
◆ radius
float Leap.Unity.Geometry.Bipyramid.radius |
|
get |
The documentation for this struct was generated from the following file: