Struct Leap::Unity::Geometry::Bipyramid

struct Leap.Unity.Geometry.Bipyramid

Public Static Functions

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.

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.

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.