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

Class for morphing with Animator (1-dimensional) More...

Inheritance diagram for CriLipsMorphAnimatorOpenInfo:
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 stateHash
 Hash value of the destination to which the 1-dimensional lip-sync mouth shape is applied More...
 

Properties

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

Detailed Description

Class for morphing with Animator (1-dimensional)

Description:
This class inherits from ICriLipsMorph and can be used for morphing with UnityEngine.Animator, by using the Japanese 5-vowels morph target blend amounts.
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 stateHash

Hash value of the destination to which the 1-dimensional lip-sync mouth shape is applied

Description:
Set the hash value of the target to which the 1-dimensional LipSync mouth opening information (returned by ICriLipsMorph.Update) will be applied.
The hash value is the value obtained by converting the LayerName.StateName string in AnimationController using 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: