TriLib 2.2.8
|
Represents a class used to match Blend-Shape Keys with Visemes. Used by Lip-sync systems. More...
Public Member Functions | |
virtual bool | Map (AssetLoaderContext assetLoaderContext, IGeometryGroup geometryGroup, out int[] output) |
Tries to match the Visemes with Blend-Shapes Key indices and outputs the indices in the "output" parameter. | |
Public Attributes | |
int | CheckingOrder |
Defines the mapper priority when using other mappers in the same AssetLoaderOptions. | |
Static Public Attributes | |
const int | VisemeCount = 14 |
The viseme count. | |
Protected Member Functions | |
virtual int | MapViseme (AssetLoaderContext assetLoaderContext, LipSyncViseme viseme, IGeometryGroup geometryGroup) |
Maps a Geometry Blend-Shape Key to a Viseme. | |
Represents a class used to match Blend-Shape Keys with Visemes. Used by Lip-sync systems.
|
virtual |
Tries to match the Visemes with Blend-Shapes Key indices and outputs the indices in the "output" parameter.
assetLoaderContext | The Asset Loader Context reference. Asset Loader Context contains the Model loading data. |
geometryGroup | The Geometry Group, containing all child Geometries. |
output | The found Blend-Shape Key indices. |
true
if any blend-shape to viseme mapping has been made, false
otherwise.
|
protectedvirtual |
Maps a Geometry Blend-Shape Key to a Viseme.
assetLoaderContext | The Asset Loader Context reference. Asset Loader Context contains the Model loading data. |
viseme | The Viseme name. |
geometryGroup | The Geometry Group, containing all child Geometries. |
Reimplemented in TriLibCore.Mappers.ByNameLipSyncMapper.