Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.LipSyncShape Struct Reference

Public Member Functions

 LipSyncShape (int _frame, float _timeIndex, float speed, float fps=15f)
 

Public Attributes

int frame
 
float timeIndex
 

Detailed Description

A data struct of lipsync animation

Constructor & Destructor Documentation

◆ LipSyncShape()

AC.LipSyncShape.LipSyncShape ( int  _frame,
float  _timeIndex,
float  speed,
float  fps = 15f 
)

The default Constructor.

Parameters
_frameThe animation frame to play
_timeIndexThe time index that the animation correlates to
speedThe playback speed set by the player
fpsThe FPS rate set by the third-party LipSync tool

Member Data Documentation

◆ frame

int AC.LipSyncShape.frame

The animation frame to play

◆ timeIndex

float AC.LipSyncShape.timeIndex

The time index that the animation correlates to