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

A component for sending the LipSync analysis results into the blend shape. More...

Inheritance diagram for CriLipsShape:
CriLipsShapeForAtomSource

Public Types

enum  BlendShapeType { WidthHeight = 0, JapaneseAIUEO }
 The blend shape type to which the LipSync analysis result is applied More...
 

Public Member Functions

delegate void UserModifyDelegateFunction (ref CriLipsMouth.Info info, ref CriLipsMouth.MorphTargetBlendAmountAsJapanese morph, ICriLipsAnalyzeModule analyzeModule)
 Delegate for change in analysis result
 

Protected Member Functions

virtual void StartForMorphing (CriLipsMouth.Info silenceInfo)
 Generates a morphing class from SkinnedMeshRenderer. More...
 
virtual void UpdateLipsParamerterForBelndShape (ref CriLipsMouth.Info info)
 Perform vertically/horizontally type of morphing. More...
 
virtual void UpdateLipsParamerterForBelndShape (ref CriLipsMouth.MorphTargetBlendAmountAsJapanese blendAmount)
 Use the Japanese 5-vowel type of morphing. More...
 

Detailed Description

A component for sending the LipSync analysis results into the blend shape.

Deprecated:
Unity2019.3 〜 では削除予定の非推奨APIです。 CriLipsDeformer コンポーネントの使用を検討してください。
Description:
A component for sending the LipSync analysis results into the blend shape.
A base class that passes the analysis result to the blend shape set on the editor.
By inheriting this class, it is possible to reflect the LipSync analysis result according to the sound input method.
This component only passes the LipSync analysis result to the blend shape, so nothing is displayed when it is attached and used.
In general, use the CriLipsShapeForAtomSource component, which is the inherited component.
Note:
In this class, only the combination of configure blend shapes is shaped.
When controlling the blend shape by combining multiple LipSync analysis results, operate the blend shape directly from the analysis results.

Member Enumeration Documentation

enum BlendShapeType
strong

The blend shape type to which the LipSync analysis result is applied

Enumerator
WidthHeight 

Vertical and horizontal type

JapaneseAIUEO 

Japanese 5 vowel type

Member Function Documentation

virtual void StartForMorphing ( CriLipsMouth.Info  silenceInfo)
inlineprotectedvirtual

Generates a morphing class from SkinnedMeshRenderer.

Description:
Generates a morphing class from SkinnedMeshRenderer set on the Inspector.
virtual void UpdateLipsParamerterForBelndShape ( ref CriLipsMouth.Info  info)
inlineprotectedvirtual

Perform vertically/horizontally type of morphing.

Description:
Morph the BlendShape vertically and horizontally.
The BlendShape target is specified when CriLipsShape.StartForMorphing is being called.
virtual void UpdateLipsParamerterForBelndShape ( ref CriLipsMouth.MorphTargetBlendAmountAsJapanese  blendAmount)
inlineprotectedvirtual

Use the Japanese 5-vowel type of morphing.

Description:
Use the 5 vowels of Japanese to do morphing on the BlendShape.
The BlendShape target is specified when CriLipsShape.StartForMorphing is being called.

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