API reference
API reference
Select your platform
No SDKs available
No versions available

ListSnapPoseDelegate Class

Oculus::Interaction::ListSnapPoseDelegate extends MonoBehaviour.
Oculus::Interaction::ListSnapPoseDelegate extends Oculus.Interaction.ISnapPoseDelegate.

Overview

Properties

float
Size[Get]

Object Data

void
Start ( )
void
Update ( )
float
SizeForId
( int id )
float
FloatForPose
( Pose pose )
Pose
PoseForFloat
( float position )

Public Member Functions

void
TrackElement
( int id,
Pose p )
Indicates that a new element is tracking.
void
UntrackElement
( int id )
Indicates that an element is no longer being tracked.
void
SnapElement
( int id,
Pose pose )
Indicates that the tracked element should snap.
void
UnsnapElement
( int id )
Indicates that the element should no longer snap.
void
MoveTrackedElement
( int id,
Pose p )
Indicates that a tracked element pose has updated.
bool
SnapPoseForElement
( int id,
Pose pose,
out Pose result )
The target snap pose for a queried element id.

Details

Properties

float Oculus.Interaction.ListSnapPoseDelegate.Size
No description available.

Object Data

virtual void Oculus.Interaction.ListSnapPoseDelegate.Start ( )
No description available.
virtual void Oculus.Interaction.ListSnapPoseDelegate.Update ( )
No description available.
virtual float Oculus.Interaction.ListSnapPoseDelegate.SizeForId
( int id )
No description available.
virtual float Oculus.Interaction.ListSnapPoseDelegate.FloatForPose
( Pose pose )
No description available.
virtual Pose Oculus.Interaction.ListSnapPoseDelegate.PoseForFloat
( float position )
No description available.

Member Functions

void Oculus.Interaction.ListSnapPoseDelegate.TrackElement
( int id,
Pose p )
Indicates that a new element is tracking.
Parameters
id
The element id to track.
pose
The pose of the element.
void Oculus.Interaction.ListSnapPoseDelegate.UntrackElement
( int id )
Indicates that an element is no longer being tracked.
Parameters
id
The element id to stop tracking.
void Oculus.Interaction.ListSnapPoseDelegate.SnapElement
( int id,
Pose pose )
Indicates that the tracked element should snap.
Parameters
id
The element id to snap.
pose
The pose of the element.
void Oculus.Interaction.ListSnapPoseDelegate.UnsnapElement
( int id )
Indicates that the element should no longer snap.
Parameters
id
The element id to stop snapping.
void Oculus.Interaction.ListSnapPoseDelegate.MoveTrackedElement
( int id,
Pose p )
Indicates that a tracked element pose has updated.
Parameters
id
The element id.
pose
The new element pose.
bool Oculus.Interaction.ListSnapPoseDelegate.SnapPoseForElement
( int id,
Pose pose,
out Pose result )
The target snap pose for a queried element id.
Parameters
id
The element id.
pose
The target pose.
Returns
True if the element has a pose to snap to.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon