Click or drag to resize

DefaultAvatarHandRenderer Class

An implementation of the SDK's abstract AvatarRendererHand class that defines the hand of the default avatar that ships with the Immerse SDK. This implementation uses a single skinned mesh and animator to display all of the hand's different poses.
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDK.AvatarsAvatarRendererHand
            ImmerseSDKDefaultAvatarHandRenderer

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.NoDll (in ImmerseSDK.NoDll.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public class DefaultAvatarHandRenderer : AvatarRendererHand

The DefaultAvatarHandRenderer type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberDefaultAvatarHandRenderer
Public methodDefaultAvatarHandRenderer
Initializes a new instance of the DefaultAvatarHandRenderer class
Top
Methods
  NameDescription
Protected methodHandleGripChanged
Sets the hand's grip amount. The amount is a value between 0 and 1, where 0 represents an open hand and 1 is a fully closed hand.
(Overrides AvatarRendererHandHandleGripChanged(Single).)
Protected methodHandlePoseChanged
Displays the a pose selected by the Immerse SDK on the hand. All implementations of the AvatarRendererHand must provide a visual state for each Pose.
(Overrides AvatarRendererHandHandlePoseChanged(AvatarRendererHandPose).)
Public methodHide
Hides the avatar's hand in the scene. This is usually called when a tool or hardware controller model is shown.
(Overrides AvatarRendererHandHide(Single).)
Public methodSetMaterial
Attaches a shared material to the hand renderer so that it's color can be changed easily.
Public methodShow
Displays the avatar's hand in the scene.
(Overrides AvatarRendererHandShow(Single).)
Public methodValidate
Validates that the avatar hand is setup correctly.
(Overrides AvatarRendererHandValidate.)
Top
Fields
  NameDescription
Private field_handRootTransform
The root object with position and rotation offset, this offsets from the position of tracked pose driver
Public fieldHandAnimator
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also