void | Start ( ) |
CalculateBestPoseAtSurface ( in Pose targetPose, out Pose bestPose, in PoseMeasureParameters scoringModifier, Transform relativeTo ) Finds the Pose at the surface that is the closest to the given pose. | |
CalculateBestPoseAtSurface ( in Pose targetPose, in Pose offset, out Pose bestPose, in PoseMeasureParameters scoringModifier, Transform relativeTo ) Finds the Pose at the surface that is the closest to the given pose. | |
bool | Finds the Pose at the surface that is the closest to the given ray. |
Pose | Method for mirroring a Pose around the surface. |
CreateMirroredSurface ( GameObject gameObject ) Creates a new IGrabSurface under the selected gameobject that is a mirror version of the current. | |
CreateDuplicatedSurface ( GameObject gameObject ) Creates a new IGrabSurface under the selected gameobject with the same data as this one. | |
void | InjectAllColliderGrabSurface ( Collider collider ) |
void | InjectCollider ( Collider collider ) |
virtual void Oculus.Interaction.Grab.GrabSurfaces.ColliderGrabSurface.Start ( ) |
---|
No description available.
|
GrabPoseScore Oculus.Interaction.Grab.GrabSurfaces.ColliderGrabSurface.CalculateBestPoseAtSurface ( in Pose targetPose, out Pose bestPose, in PoseMeasureParameters scoringModifier, Transform relativeTo ) |
---|
Finds the Pose at the surface that is the closest to the given pose. Parameters targetPose The root pose to find the nearest to. bestPoseThe best found pose at the surface.< scoringModifierWeight used to decide which target pose to select relativeToReference transform to measure the poses against Returns The score indicating how good the found pose was, -1 for invalid result. |
GrabPoseScore Oculus.Interaction.Grab.GrabSurfaces.ColliderGrabSurface.CalculateBestPoseAtSurface ( in Pose targetPose, in Pose offset, out Pose bestPose, in PoseMeasureParameters scoringModifier, Transform relativeTo ) |
---|
Finds the Pose at the surface that is the closest to the given pose. Parameters targetPose The root pose to find the nearest to. offsetThe offset from the root, for accurate scoring bestPoseThe best found pose at the surface.< scoringModifierWeight used to decide which target pose to select relativeToReference transform to measure the poses against Returns The score indicating how good the found pose was, -1 for invalid result. |
bool Oculus.Interaction.Grab.GrabSurfaces.ColliderGrabSurface.CalculateBestPoseAtSurface ( Ray targetRay, out Pose bestPose, Transform relativeTo ) |
---|
Finds the Pose at the surface that is the closest to the given ray. Parameters targetRay Ray searching for the nearest snap pose bestPoseThe best found pose at the surface. relativeToReference transform to measure the poses against Returns True if the pose was found |
Pose Oculus.Interaction.Grab.GrabSurfaces.ColliderGrabSurface.MirrorPose ( in Pose gripPose, Transform relativeTo ) |
---|
Method for mirroring a Pose around the surface. Different surfaces will prefer mirroring along different axis. Parameters gripPose The Pose to be mirrored. relativeToReference transform to mirror the pose around Returns A new pose mirrored at this surface. |
IGrabSurface Oculus.Interaction.Grab.GrabSurfaces.ColliderGrabSurface.CreateMirroredSurface ( GameObject gameObject ) |
---|
Creates a new IGrabSurface under the selected gameobject that is a mirror version of the current. Parameters gameObject The gameobject in which to place the new IGrabSurface. Returns A mirror of this IGrabSurface. |
IGrabSurface Oculus.Interaction.Grab.GrabSurfaces.ColliderGrabSurface.CreateDuplicatedSurface ( GameObject gameObject ) |
---|
Creates a new IGrabSurface under the selected gameobject with the same data as this one. Parameters gameObject The gameobject in which to place the new IGrabSurface. Returns A clone of this IGrabSurface. |
void Oculus.Interaction.Grab.GrabSurfaces.ColliderGrabSurface.InjectAllColliderGrabSurface ( Collider collider ) |
---|
No description available.
|
void Oculus.Interaction.Grab.GrabSurfaces.ColliderGrabSurface.InjectCollider ( Collider collider ) |
---|
No description available.
|