|
| LocalRect (Vector3 center, Vector2 radii) |
|
| LocalRect (Vector2 radii) |
|
| LocalRect (float top, float bottom, float left, float right) |
|
| LocalRect (UnityRect uRect) |
|
Rect | With (Transform transform) |
|
UnityRect | ToUnityRect () |
|
LocalRect | Scale (float radiusMultipler) |
| Returns a new LocalRect with scaled radii. The center is unchanged. More...
|
|
LocalRect | Scale (Vector2 radiusMultiplers) |
| Returns a new LocalRect with component-wise scaled radii. The center is unchanged. More...
|
|
LocalRect | AlignToCenter (LocalRect ofRect) |
| Returns a new LocalRect whose center matches the center of the argument rect. More...
|
|
LocalRect | CopyFrom (LocalRect toCopy) |
|
bool | FillLerped (LocalRect from, LocalRect to, float t) |
|
bool | FillSplined (LocalRect a, LocalRect b, LocalRect c, LocalRect d, float t) |
|
LineEnumerator | TakeLines (float height, Margins? cellMargins=null, VerticalOrigin? verticalOrigin=null) |
|
T | CopyFrom (T toCopy) |
|
bool | FillLerped (T from, T to, float t) |
|
bool | FillSplined (T a, T b, T c, T d, float t) |
|
Definition at line 20 of file LocalRect.cs.
◆ LocalRect() [1/4]
Leap.Unity.Geometry.LocalRect.LocalRect |
( |
Vector3 |
center, |
|
|
Vector2 |
radii |
|
) |
| |
◆ LocalRect() [2/4]
Leap.Unity.Geometry.LocalRect.LocalRect |
( |
Vector2 |
radii | ) |
|
◆ LocalRect() [3/4]
Leap.Unity.Geometry.LocalRect.LocalRect |
( |
float |
top, |
|
|
float |
bottom, |
|
|
float |
left, |
|
|
float |
right |
|
) |
| |
◆ LocalRect() [4/4]
Leap.Unity.Geometry.LocalRect.LocalRect |
( |
UnityRect |
uRect | ) |
|
◆ AlignToCenter()
Returns a new LocalRect whose center matches the center of the argument rect.
Definition at line 90 of file LocalRect.cs.
◆ CopyFrom()
◆ FillLerped()
◆ FillSplined()
◆ FromRadius()
static LocalRect Leap.Unity.Geometry.LocalRect.FromRadius |
( |
float |
boxRadius | ) |
|
|
static |
◆ FromUnityRect()
◆ Scale() [1/2]
LocalRect Leap.Unity.Geometry.LocalRect.Scale |
( |
float |
radiusMultipler | ) |
|
◆ Scale() [2/2]
LocalRect Leap.Unity.Geometry.LocalRect.Scale |
( |
Vector2 |
radiusMultiplers | ) |
|
Returns a new LocalRect with component-wise scaled radii. The center is unchanged.
Definition at line 84 of file LocalRect.cs.
◆ TakeLines()
◆ ToUnityRect()
UnityRect Leap.Unity.Geometry.LocalRect.ToUnityRect |
( |
| ) |
|
◆ With()
Rect Leap.Unity.Geometry.LocalRect.With |
( |
Transform |
transform | ) |
|
◆ center
Vector3 Leap.Unity.Geometry.LocalRect.center |
◆ radii
Vector2 Leap.Unity.Geometry.LocalRect.radii |
◆ unit
readonly LocalRect Leap.Unity.Geometry.LocalRect.unit |
|
static |
Initial value:=
LocalRect(Vector3 center, Vector2 radii)
Definition at line 25 of file LocalRect.cs.
◆ bottom
float Leap.Unity.Geometry.LocalRect.bottom |
|
get |
◆ corner00
Vector3 Leap.Unity.Geometry.LocalRect.corner00 |
|
get |
◆ corner10
Vector3 Leap.Unity.Geometry.LocalRect.corner10 |
|
get |
◆ height
float Leap.Unity.Geometry.LocalRect.height |
|
get |
◆ left
float Leap.Unity.Geometry.LocalRect.left |
|
get |
◆ right
float Leap.Unity.Geometry.LocalRect.right |
|
get |
◆ top
float Leap.Unity.Geometry.LocalRect.top |
|
get |
◆ width
float Leap.Unity.Geometry.LocalRect.width |
|
get |
The documentation for this struct was generated from the following file: