Drag[en]gine Script Module DragonScript 1.32.1
Loading...
Searching...
No Matches
Dragengine.Audio.LipSync.LipSync.VisemeResult Class Reference

Viseme result. More...

Inheritance diagram for Dragengine.Audio.LipSync.LipSync.VisemeResult:

Public Member Functions

Viseme getViseme ()
 Get viseme.
 
float getWeight ()
 Get viseme weight in range 0 to 1.
 
OneEuroFilter getWeightFilter ()
 Weight filter.
 
float getWeightSmooth ()
 Get smoothed viseme weight in range 0 to 1.
 
VisemeResult new (Viseme viseme)
 Create viseme result.
 
void setWeight (float value)
 Set viseme weight in range 0 to 1.
 
void setWeightSmooth (float value)
 Set smoothed viseme weight in range 0 to 1.
 

Public Attributes

Viseme pViseme
 
float pWeight
 
OneEuroFilter pWeightFilter
 

Detailed Description

Viseme result.

Member Function Documentation

◆ getViseme()

Viseme Dragengine.Audio.LipSync.LipSync.VisemeResult.getViseme ( )

Get viseme.

◆ getWeight()

float Dragengine.Audio.LipSync.LipSync.VisemeResult.getWeight ( )

Get viseme weight in range 0 to 1.

◆ getWeightFilter()

OneEuroFilter Dragengine.Audio.LipSync.LipSync.VisemeResult.getWeightFilter ( )

Weight filter.

◆ getWeightSmooth()

float Dragengine.Audio.LipSync.LipSync.VisemeResult.getWeightSmooth ( )

Get smoothed viseme weight in range 0 to 1.

Use this value for animation character mouth.

◆ new()

VisemeResult Dragengine.Audio.LipSync.LipSync.VisemeResult.new ( Viseme  viseme)

Create viseme result.

◆ setWeight()

void Dragengine.Audio.LipSync.LipSync.VisemeResult.setWeight ( float  value)

Set viseme weight in range 0 to 1.

◆ setWeightSmooth()

void Dragengine.Audio.LipSync.LipSync.VisemeResult.setWeightSmooth ( float  value)

Set smoothed viseme weight in range 0 to 1.

Member Data Documentation

◆ pViseme

Viseme Dragengine.Audio.LipSync.LipSync.VisemeResult.pViseme

◆ pWeight

float Dragengine.Audio.LipSync.LipSync.VisemeResult.pWeight

◆ pWeightFilter

OneEuroFilter Dragengine.Audio.LipSync.LipSync.VisemeResult.pWeightFilter

The documentation for this class was generated from the following file: