Click or drag to resize

DefaultAvatarHeadRenderer Class

An implementation of the SDK's abstract AvatarRendererHead class that defines the head of the default avatar that ships with the Immerse SDK.
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDK.AvatarsAvatarRendererHead
            ImmerseSDKDefaultAvatarHeadRenderer

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

The DefaultAvatarHeadRenderer type exposes the following members.

Constructors
  NameDescription
Public methodDefaultAvatarHeadRenderer
Initializes a new instance of the DefaultAvatarHeadRenderer class
Top
Methods
  NameDescription
Public methodHide
Hides the avatar's head in the scene. This is usually called when viewing in WebGL from an avatar's POV.
(Overrides AvatarRendererHeadHide.)
Public methodSetMaterial
Attaches a shared material to the head renderer so that it's color can be changed easily.
Public methodShow
Displays the avatar's head in the scene.
(Overrides AvatarRendererHeadShow.)
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