|
| Sphere (LocalSphere localSphere, Transform withTransform) |
|
| Sphere (float radius=0.10f, Component transformSource=null) |
|
| Sphere (float radius=0.10f) |
|
| Sphere (float radius=0.10f, Matrix4x4? overrideMatrix=null) |
|
| Sphere (Vector3 center=default(Vector3), float radius=0.10f) |
|
| Sphere (Vector3 center=default(Vector3), float radius=0.10f, Component transformSource=null, Matrix4x4? overrideMatrix=null) |
|
| Sphere (Vector3 center=default(Vector3), float radius=0.10f, Transform transform=null) |
|
| Sphere (Sphere other) |
|
Sphere | WithCenter (Vector3 center) |
|
bool | Overlaps (Box box) |
|
float | DistanceTo (Rect rect) |
| Returns the distance between the closest points on the Rect and the Sphere, or 0 if the two overlap. More...
|
|
bool | Overlaps (Rect rect) |
|
void | DrawLines (Action< Vector3, Vector3 > lineDrawingFunc, int latitudinalDivisions=5, int longitudinalDivisions=5, int numCircleSegments=7, Matrix4x4? matrixOverride=null) |
|
void | DrawRuntimeGizmos (RuntimeGizmoDrawer drawer) |
|
|
Matrix4x4 | matrix [get] |
| Local-to-world matrix for this Sphere. More...
|
|
Vector3 | position [get] |
| The world position of the center of this sphere (read only). This is dependent on the state of its Transform if it has one, as well as its defined local-space center position. More...
|
|
Definition at line 19 of file Sphere.cs.
◆ Sphere() [1/8]
Leap.Unity.Geometry.Sphere.Sphere |
( |
LocalSphere |
localSphere, |
|
|
Transform |
withTransform |
|
) |
| |
◆ Sphere() [2/8]
Leap.Unity.Geometry.Sphere.Sphere |
( |
float |
radius = 0.10f , |
|
|
Component |
transformSource = null |
|
) |
| |
◆ Sphere() [3/8]
Leap.Unity.Geometry.Sphere.Sphere |
( |
float |
radius = 0.10f | ) |
|
◆ Sphere() [4/8]
Leap.Unity.Geometry.Sphere.Sphere |
( |
float |
radius = 0.10f , |
|
|
Matrix4x4? |
overrideMatrix = null |
|
) |
| |
◆ Sphere() [5/8]
Leap.Unity.Geometry.Sphere.Sphere |
( |
Vector3 |
center = default(Vector3) , |
|
|
float |
radius = 0.10f |
|
) |
| |
◆ Sphere() [6/8]
Leap.Unity.Geometry.Sphere.Sphere |
( |
Vector3 |
center = default(Vector3) , |
|
|
float |
radius = 0.10f , |
|
|
Component |
transformSource = null , |
|
|
Matrix4x4? |
overrideMatrix = null |
|
) |
| |
◆ Sphere() [7/8]
Leap.Unity.Geometry.Sphere.Sphere |
( |
Vector3 |
center = default(Vector3) , |
|
|
float |
radius = 0.10f , |
|
|
Transform |
transform = null |
|
) |
| |
◆ Sphere() [8/8]
Leap.Unity.Geometry.Sphere.Sphere |
( |
Sphere |
other | ) |
|
◆ DistanceTo()
float Leap.Unity.Geometry.Sphere.DistanceTo |
( |
Rect |
rect | ) |
|
Returns the distance between the closest points on the Rect and the Sphere, or 0 if the two overlap.
Definition at line 107 of file Sphere.cs.
◆ DrawLines()
void Leap.Unity.Geometry.Sphere.DrawLines |
( |
Action< Vector3, Vector3 > |
lineDrawingFunc, |
|
|
int |
latitudinalDivisions = 5 , |
|
|
int |
longitudinalDivisions = 5 , |
|
|
int |
numCircleSegments = 7 , |
|
|
Matrix4x4? |
matrixOverride = null |
|
) |
| |
◆ DrawRuntimeGizmos()
◆ Overlaps() [1/2]
bool Leap.Unity.Geometry.Sphere.Overlaps |
( |
Box |
box | ) |
|
◆ Overlaps() [2/2]
bool Leap.Unity.Geometry.Sphere.Overlaps |
( |
Rect |
rect | ) |
|
◆ WithCenter()
Sphere Leap.Unity.Geometry.Sphere.WithCenter |
( |
Vector3 |
center | ) |
|
◆ center
Vector3 Leap.Unity.Geometry.Sphere.center |
◆ overrideMatrix
Matrix4x4? Leap.Unity.Geometry.Sphere.overrideMatrix |
◆ radius
float Leap.Unity.Geometry.Sphere.radius |
◆ transform
Transform Leap.Unity.Geometry.Sphere.transform |
◆ matrix
Matrix4x4 Leap.Unity.Geometry.Sphere.matrix |
|
get |
◆ position
Vector3 Leap.Unity.Geometry.Sphere.position |
|
get |
The world position of the center of this sphere (read only). This is dependent on the state of its Transform if it has one, as well as its defined local-space center position.
Definition at line 81 of file Sphere.cs.
The documentation for this struct was generated from the following file: