Surface
: ISurface |
Signature
ISurface Oculus.Interaction.SurfaceSnapPoseDelegate.Surface |
Awake
()
|
Signature
virtual void Oculus.Interaction.SurfaceSnapPoseDelegate.Awake() Returns void |
Start
()
|
Signature
virtual void Oculus.Interaction.SurfaceSnapPoseDelegate.Start() Returns void |
InjectAllSurfaceSnapPoseDelegate
(
surface
)
|
Signature
void Oculus.Interaction.SurfaceSnapPoseDelegate.InjectAllSurfaceSnapPoseDelegate(ISurface surface) Parameters surface: ISurfaceReturns void |
InjectSurface
(
surface
)
|
Signature
void Oculus.Interaction.SurfaceSnapPoseDelegate.InjectSurface(ISurface surface) Parameters surface: ISurfaceReturns void |
MoveTrackedElement
(
id
, p
)
|
Indicates that a tracked element pose has updated.
Signature
void Oculus.Interaction.SurfaceSnapPoseDelegate.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 Oculus.Interaction.SurfaceSnapPoseDelegate.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 Oculus.Interaction.SurfaceSnapPoseDelegate.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 Oculus.Interaction.SurfaceSnapPoseDelegate.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 Oculus.Interaction.SurfaceSnapPoseDelegate.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 Oculus.Interaction.SurfaceSnapPoseDelegate.UntrackElement(int id) Parameters id: int
The element id to stop tracking.
Returns void |