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

Class for morphing with Animator (mouth shape information) More...

Inheritance diagram for CriLipsMorphAnimatorWidthHeight:
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 lipHeightStateHash
 Hash value to which the mouth height parameter is applied More...
 
int lipWidthOpenStateHash
 Hash value to which the mouth width parameter (in the opening direction) is applied More...
 
int lipWidthCloseStateHash
 Hash value to which the mouth width parameter (in the closing direction) is applied More...
 
int tongueUpStateHash
 Hash value to which the tongue height parameter is applied More...
 

Properties

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

Detailed Description

Class for morphing with Animator (mouth shape information)

Description:
This class inherits ICriLipsMorph and can be used for morphing with UnityEngine.Animator, 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 lipHeightStateHash

Hash value to which the mouth height parameter is applied

Description:
Specifies the hash value to which the mouth height parameter of the mouth shape information (updated by ICriLipsMorph.Update) is applied.
The hash value is the LayerName.StateName string in the AnimationController, once converted by calling UnityEngine.Animator.StringToHash() .
int lipWidthOpenStateHash

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

Description:
Specifies the hash value to which the mouth width (in the opening direction) parameter of the mouth shape information (updated by ICriLipsMorph.Update) is applied.
The hash value is the LayerName.StateName string in the AnimationController, once converted by calling UnityEngine.Animator.StringToHash() .
int lipWidthCloseStateHash

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

Description:
Specifies the hash value to which the mouth width (in the closing direction) parameter of the mouth shape information (updated by ICriLipsMorph.Update) is applied.
The hash value is the LayerName.StateName string in the AnimationController, once converted by calling UnityEngine.Animator.StringToHash() .
int tongueUpStateHash

Hash value to which the tongue height parameter is applied

Description:
Specifies the hash value to which the tongue height parameter of the mouth shape information (updated by ICriLipsMorph.Update) is applied.
The hash value is the LayerName.StateName string in the AnimationController, once converted by calling UnityEngine.Animator.StringToHash() .

Property Documentation

Animator Target
getset

Morphing target object

Description:
Sets an Animator as the morphing target.
The Animator set by this property must have an AnimationController with layers that are set to "Additive".
For the recommended data configuration of an AnimationController, please refer to "Control method by Animator" in the manual.

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