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

HandVisual Class

Extends MonoBehaviour, IHandVisual
Renders the hand.

Properties

IHand Hand[Get]
IList< Transform > Joints[Get]
Transform Root[Get]
SkinnedMeshRenderer SkinnedMeshRenderer[Get]
MaterialPropertyBlockEditor HandMaterialPropertyBlockEditor[Get]
bool ForceOffVisibility[Get]

Events

Action WhenHandVisualUpdated

Fields

bool IsVisible[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )

Member Functions

void UpdateSkeleton ( )
Transform GetTransformByHandJointId
( HandJointId handJointId )
Get the current Pose of the HandJoint given in the current Space.
Used to grant quicker access to GetJointPose(HandJointId, out Pose) data.
Parameters
jointId
The hand joint to get the pose of
space
The space/transformation that the hand is in
Returns
The Pose of the HandJoint in the given Space
void InjectAllHandSkeletonVisual
( IHand hand,
SkinnedMeshRenderer skinnedMeshRenderer )
void InjectHand
( IHand hand )
void InjectSkinnedMeshRenderer
( SkinnedMeshRenderer skinnedMeshRenderer )
void InjectOptionalUpdateRootPose
( bool updateRootPose )
void InjectOptionalUpdateRootScale
( bool updateRootScale )
void InjectOptionalRoot
( Transform root )
void InjectOptionalMaterialPropertyBlockEditor
( MaterialPropertyBlockEditor editor )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon