Table of Contents

Class CommonAvatarInfo

Namespace
nadena.dev.ndmf.platform

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

ImmutableList<string>

VisemeBlendshapes

A dictionary of viseme key to viseme blendshape name.

public readonly Dictionary<string, string> VisemeBlendshapes

Field Value

Dictionary<string, string>

Viseme_CH

public const string Viseme_CH = "CH"

Field Value

string

Viseme_DD

public const string Viseme_DD = "DD"

Field Value

string

Viseme_E

public const string Viseme_E = "E"

Field Value

string

Viseme_FF

public const string Viseme_FF = "FF"

Field Value

string

Viseme_PP

public const string Viseme_PP = "PP"

Field Value

string

Viseme_RR

public const string Viseme_RR = "RR"

Field Value

string

Viseme_SS

public const string Viseme_SS = "SS"

Field Value

string

Viseme_Silence

public const string Viseme_Silence = "silence"

Field Value

string

Viseme_TH

public const string Viseme_TH = "TH"

Field Value

string

Viseme_aa

public const string Viseme_aa = "aa"

Field Value

string

Viseme_ih

public const string Viseme_ih = "ih"

Field Value

string

Viseme_kk

public const string Viseme_kk = "kk"

Field Value

string

Viseme_laugh

public const string Viseme_laugh = "laugh"

Field Value

string

Viseme_nn

public const string Viseme_nn = "nn"

Field Value

string

Viseme_oh

public const string Viseme_oh = "oh"

Field Value

string

Viseme_ou

public const string Viseme_ou = "ou"

Field Value

string

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