static HandGrabInteractable | Creates a new HandGrabInteractable under the given object. |
static HandGrabPose | |
static void | Generates a new HandGrabPoseData that mirrors the provided one. |
static HandGrabInteractableData | SaveData ( HandGrabInteractable interactable ) Serializes the data of the HandGrabInteractable so it can be stored. |
static void | Populates the HandGrabInteractable with the serialized data version. |
static HandGrabPose |
static HandGrabInteractable Oculus.Interaction.HandGrab.HandGrabUtils.CreateHandGrabInteractable ( Transform parent, string name ) |
---|
Creates a new HandGrabInteractable under the given object. Parameters parent The relative object for the interactable nameName for the GameObject holding this interactable Returns An non-populated HandGrabInteractable |
static HandGrabPose Oculus.Interaction.HandGrab.HandGrabUtils.CreateHandGrabPose ( Transform parent, Transform relativeTo ) |
---|
No description available.
|
static void Oculus.Interaction.HandGrab.HandGrabUtils.MirrorHandGrabPose ( HandGrabPose originalPoint, HandGrabPose mirrorPoint, Transform relativeTo ) |
---|
Generates a new HandGrabPoseData that mirrors the provided one. Left hand becomes right hand and vice-versa. The mirror axis is defined by the surface of the snap point, if any, if none a best-guess is provided but note that it can then moved manually in the editor. Parameters originalPoint The point to mirror mirrorPointThe target HandGrabPose to set as mirrored of the originalPoint |
static HandGrabInteractableData Oculus.Interaction.HandGrab.HandGrabUtils.SaveData ( HandGrabInteractable interactable ) |
---|
Serializes the data of the HandGrabInteractable so it can be stored. Returns The struct data to recreate the interactable |
static void Oculus.Interaction.HandGrab.HandGrabUtils.LoadData ( HandGrabInteractable interactable, HandGrabInteractableData data ) |
---|
Populates the HandGrabInteractable with the serialized data version. Parameters data The serialized data for the HandGrabInteractable. |
static HandGrabPose Oculus.Interaction.HandGrab.HandGrabUtils.LoadHandGrabPose ( HandGrabInteractable interactable, HandGrabPoseData poseData ) |
---|
No description available.
|