Tanoda
LocalBox.cs
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (C) Ultraleap, Inc. 2011-2020. *
3
* *
4
* Use subject to the terms of the Apache License 2.0 available at *
5
* http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6
* between Ultraleap and you, your company or other organization. *
7
******************************************************************************/
8
9
using
System.Collections;
10
using
System.Collections.Generic;
11
using
UnityEngine
;
12
13
namespace
Leap.Unity.Geometry
{
14
15
[System.Serializable]
16
public
struct
LocalBox
{
17
18
public
Vector3
center
;
19
public
Vector3
radii
;
20
21
public
Box
With
(Transform t) {
22
return
new
Box
(
this
, t);
23
}
24
25
public
static
LocalBox
unit
{
get
{
return
new
LocalBox
() {
26
center
= Vector3.zero,
radii
= Vector3.one
27
};}}
28
29
}
30
31
}
Leap.Unity.Geometry
Definition:
Bezier.cs:11
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Leap.Unity.Geometry.Box
Definition:
Box.cs:16
Leap.Unity.Geometry.LocalBox
Definition:
LocalBox.cs:16
Leap.Unity.Geometry.LocalBox.unit
static LocalBox unit
Definition:
LocalBox.cs:25
Leap.Unity.Geometry.LocalBox.With
Box With(Transform t)
Definition:
LocalBox.cs:21
Leap.Unity.Geometry.LocalBox.radii
Vector3 radii
Definition:
LocalBox.cs:19
Leap.Unity.Geometry.LocalBox.center
Vector3 center
Definition:
LocalBox.cs:18
Source
Assets
Plugins
LeapMotion
Core
Scripts
Geometry
LocalShapes
LocalBox.cs
Generated by
1.9.3