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

HandGhost Class

Extends MonoBehaviour
A static (non-user controlled) representation of a hand.
This script is used to be able to manually visualize hand grab poses.

Properties

Transform Root[Get]

Protected Functions

virtual void Reset ( )
virtual void OnValidate ( )
virtual void Start ( )

Member Functions

Relay to the Puppet to set the ghost hand to the desired static pose.
Parameters
handGrabPose
The point to read the HandPose from
void SetPose
( HandPose userPose,
Pose rootPose )
Moves the underlying puppet so the wrist point aligns with the given parameters.
Parameters
rootPose
The relative wrist pose to align the hand to
relativeTo
The object to use as anchor
void InjectAllHandGhost
( HandPuppet puppet )
void InjectHandPuppet
( HandPuppet puppet )
void InjectOptionalHandGrabPose
( HandGrabPose handGrabPose )
void InjectOptionalRoot
( Transform root )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon