Class CommonAvatarInfo
The CommonAvatarInfo structure provides an intermediate representation of frequently-used avatar-wide configuration in order to facilitate automatic conversion between different types of SDKs.
public sealed class CommonAvatarInfo
- Inheritance
-
CommonAvatarInfo
- Inherited Members
Fields
KnownVisemes
public static readonly ImmutableList<string> KnownVisemes
Field Value
VisemeBlendshapes
A dictionary of viseme key to viseme blendshape name.
public readonly Dictionary<string, string> VisemeBlendshapes
Field Value
Viseme_CH
public const string Viseme_CH = "CH"
Field Value
Viseme_DD
public const string Viseme_DD = "DD"
Field Value
Viseme_E
public const string Viseme_E = "E"
Field Value
Viseme_FF
public const string Viseme_FF = "FF"
Field Value
Viseme_PP
public const string Viseme_PP = "PP"
Field Value
Viseme_RR
public const string Viseme_RR = "RR"
Field Value
Viseme_SS
public const string Viseme_SS = "SS"
Field Value
Viseme_Silence
public const string Viseme_Silence = "silence"
Field Value
Viseme_TH
public const string Viseme_TH = "TH"
Field Value
Viseme_aa
public const string Viseme_aa = "aa"
Field Value
Viseme_ih
public const string Viseme_ih = "ih"
Field Value
Viseme_kk
public const string Viseme_kk = "kk"
Field Value
Viseme_laugh
public const string Viseme_laugh = "laugh"
Field Value
Viseme_nn
public const string Viseme_nn = "nn"
Field Value
Viseme_oh
public const string Viseme_oh = "oh"
Field Value
Viseme_ou
public const string Viseme_ou = "ou"
Field Value
Properties
EyePosition
The position of the user viewpoint in avatar root space. We assume a Z+ orientation.
public Vector3? EyePosition { get; set; }
Property Value
- Vector3?
VisemeRenderer
The skinned mesh renderer that will be used to render viseme blendshapes, typically the face mesh.
public SkinnedMeshRenderer? VisemeRenderer { get; set; }
Property Value
- SkinnedMeshRenderer?
Methods
MergeFrom(CommonAvatarInfo)
Copies settings from other
into this CommonAvatarInfo. If settings are present in both, other
takes
precedence.
public void MergeFrom(CommonAvatarInfo other)
Parameters
other
CommonAvatarInfo