Surface
: ISurface |
Signature
ISurface Surface |
Awake
()
|
Signature
virtual void Awake() Returns void |
Start
()
|
Signature
virtual void Start() Returns void |
InjectAllSurfaceSnapPoseDelegate
(
surface
)
|
Signature
void InjectAllSurfaceSnapPoseDelegate(ISurface surface) Parameters surface: ISurfaceReturns void |
InjectSurface
(
surface
)
| |
MoveTrackedElement
(
id
, p
)
|
Indicates that a tracked element pose has updated.
Signature
void MoveTrackedElement(int id, Pose p) Parameters id: int
The element id.
p: PoseReturns void |
SnapElement
(
id
, pose
)
|
Indicates that the tracked element should snap.
Signature
void SnapElement(int id, Pose pose) Parameters id: int
The element id to snap.
pose: Pose
The pose of the element.
Returns void |
SnapPoseForElement
(
id
, pose
, result
)
|
The target snap pose for a queried element id.
Signature
bool SnapPoseForElement(int id, Pose pose, out Pose result) Parameters id: int
The element id.
pose: Pose
The target pose.
result: out PoseReturns bool
True if the element has a pose to snap to.
|
TrackElement
(
id
, p
)
|
Indicates that a new element is tracking.
Signature
void TrackElement(int id, Pose p) Parameters id: int
The element id to track.
p: PoseReturns void |
UnsnapElement
(
id
)
|
Indicates that the element should no longer snap.
Signature
void UnsnapElement(int id) Parameters id: int
The element id to stop snapping.
Returns void |
UntrackElement
(
id
)
|
Indicates that an element is no longer being tracked.
Signature
void UntrackElement(int id) Parameters id: int
The element id to stop tracking.
Returns void |