Adventure Creator 1.84.3
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
Loading...
Searching...
No Matches
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