CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
CriLipsMorphBlendShapeWidthHeight Class Reference

This is the class used for morphing with blend shapes (using mouth shape information) More...

Inheritance diagram for CriLipsMorphBlendShapeWidthHeight:
ICriLipsMorph

Public Member Functions

void Update (ICriLipsAnalyzeModule analyzeModule)
 Update the LipSync analysis result value More...
 
void Reset ()
 Processing when unregistering the interface More...
 
void Update (ref CriLipsMouth.Info info, ref CriLipsMouth.MorphTargetBlendAmountAsJapanese blendAmount)
 Updating the LipSync analysis result values (Deprecated) More...
 

Public Attributes

int lipHeightIndex
 Index to which the mouth height parameter is applied More...
 
int lipWidthOpenIndex
 Index to which the mouth width parameter (in the opening direction) is applied More...
 
int lipWidthCloseIndex
 Index to which the mouth width parameter (in the closing direction) is applied More...
 
int tongueUpIndex
 Index to which the tongue height parameter is applied More...
 

Properties

SkinnedMeshRenderer Target [get, set]
 Morphing target object More...
 

Detailed Description

This is the class used for morphing with blend shapes (using mouth shape information)

Description:
This class inherits from ICriLipsMorph and can be used for morphing with UnityEngine.SkinnedMeshRenderer, by using mouth shape information.
Please register with a component that inherits from CriLipsDeformer, such as CriLipsDeformerForAtomSource .
See also
CriLipsDeformer::LipsMorph

Member Function Documentation

void Update ( ICriLipsAnalyzeModule  analyzeModule)
inline

Update the LipSync analysis result value

Description:
Called from CriLipsDeformer when the LipSync analysis result value is updated.
Custom morphing can be achieved by referring to the analysis results returned by this function.

Implements ICriLipsMorph.

void Reset ( )
inline

Processing when unregistering the interface

Description:
It is called when the interface registered in CriLipsDeformer is being unregistered.

Implements ICriLipsMorph.

void Update ( ref CriLipsMouth.Info  info,
ref CriLipsMouth.MorphTargetBlendAmountAsJapanese  blendAmount 
)
inline

Updating the LipSync analysis result values (Deprecated)

Deprecated:
動作互換性のためのAPIです。
Description:
This is a function to maintain compatibility.
Please switch to ICriLipsMorph.Update(ICriLipsAnalyzeModule).

Implements ICriLipsMorph.

Member Data Documentation

int lipHeightIndex

Index to which the mouth height parameter is applied

Description:
Specifies the index to which the mouth height parameter of the mouth shape information (updated by ICriLipsMorph.Update) is applied.
This index is returned by SkinnedMeshRenderer.sharedMesh.GetBlendShapeIndex .
int lipWidthOpenIndex

Index to which the mouth width parameter (in the opening direction) is applied

Description:
Specifies the index to which the mouth width (in the opening direction) parameter of the mouth shape information (updated by ICriLipsMorph.Update) is applied.
This index is returned by SkinnedMeshRenderer.sharedMesh.GetBlendShapeIndex .
int lipWidthCloseIndex

Index to which the mouth width parameter (in the closing direction) is applied

Description:
Specifies the index to which the mouth width (in the closing direction) parameter of the mouth shape information (updated by ICriLipsMorph.Update) is applied.
This index is returned by SkinnedMeshRenderer.sharedMesh.GetBlendShapeIndex .
int tongueUpIndex

Index to which the tongue height parameter is applied

Description:
Specifies the index to which the tongue height parameter of the mouth shape information (updated by ICriLipsMorph.Update) is applied.
This index is returned by SkinnedMeshRenderer.sharedMesh.GetBlendShapeIndex .

Property Documentation

SkinnedMeshRenderer Target
getset

Morphing target object

Description:
Sets a SkinnedMeshRenderer as the morphing target.

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