Component:DirectVisemeDriver: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
Automated: update SyncDelegates
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|Name=Direct Viseme Driver
|Name=Direct Viseme Driver
}}
}}
{{stub}}
The '''DirectVisemeDriver''' component takes a viseme analyser source and a few modifying sources in order to drive a list of [[Visemes]].


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Source|'''[[Component:VisemeAnalyzer|VisemeAnalyzer]]'''|TypeAdv0=true|
|Source|'''[[Component:VisemeAnalyzer|VisemeAnalyzer]]'''|TypeAdv0=true| The viseme analyser used as a source of data.
|MouthTrackingSource|IMouthTrackingSourceComponent|
|MouthTrackingSource|IMouthTrackingSourceComponent| A source of mouth tracking that influences final results. Use a [[Component:AvatarMouthDataSourceAssigner]] To assign to this automatically.
|StrengthMultiplier|Float|
|StrengthMultiplier|Float| How much to multiply the values from <code>Source</code> before sending them to the drives on this component.
|VoiceMouthSupressWeight|Float|
|VoiceMouthSupressWeight|Float| How much visemes should be affected by <code>MouthTrackingSource</code> if the user is not talking. Lower values mean the affect from <code>MouthTrackingSource</code> is greater.
|LaughThreshold|Float|
|LaughThreshold|Float| How much probability for laughter is needed before it sends it to <code>Laugh</code>
|LaughBeginSpeed|Float|
|LaughBeginSpeed|Float| How fast <code>Laugh</code> transitions to 100%.
|LaughEndSpeed|Float|
|LaughEndSpeed|Float| How fast <code>Laugh</code> transitions to 0%.
|Silence|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv7=true|
|Silence|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv7=true| How quiet the source data is overall.
|PP|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv8=true|
|PP|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv8=true| The field to drive with <code>PP</code> from <code>Source</code> after applying filters from this component.
|FF|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv9=true|
|FF|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv9=true| The field to drive with <code>FF</code> from <code>Source</code> after applying filters from this component.
|TH|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv10=true|
|TH|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv10=true| The field to drive with <code>TH</code> from <code>Source</code> after applying filters from this component.
|DD|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv11=true|
|DD|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv11=true| The field to drive with <code>DD</code> from <code>Source</code> after applying filters from this component.
|kk|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv12=true|
|kk|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv12=true| The field to drive with <code>kk</code> from <code>Source</code> after applying filters from this component.
|CH|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv13=true|
|CH|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv13=true| The field to drive with <code>CH</code> from <code>Source</code> after applying filters from this component.
|SS|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv14=true|
|SS|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv14=true| The field to drive with <code>SS</code> from <code>Source</code> after applying filters from this component.
|nn|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv15=true|
|nn|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv15=true| The field to drive with <code>nn</code> from <code>Source</code> after applying filters from this component.
|RR|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv16=true|
|RR|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv16=true| The field to drive with <code>RR</code> from <code>Source</code> after applying filters from this component.
|aa|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv17=true|
|aa|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv17=true| The field to drive with <code>aa</code> from <code>Source</code> after applying filters from this component.
|E|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv18=true|
|E|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv18=true| The field to drive with <code>E</code> from <code>Source</code> after applying filters from this component.
|ih|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv19=true|
|ih|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv19=true| The field to drive with <code>ih</code> from <code>Source</code> after applying filters from this component.
|oh|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv20=true|
|oh|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv20=true| The field to drive with <code>oh</code> from <code>Source</code> after applying filters from this component.
|ou|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv21=true|
|ou|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv21=true| The field to drive with <code>ou</code> from <code>Source</code> after applying filters from this component.
|Laugh|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv22=true|
|Laugh|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv22=true| The field to drive with <code>Laugh</code> from <code>Source</code> after applying filters from this component.
}}
 
== Sync Delegates ==
{{Table ComponentTriggers
|AutoAssignTargets:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Assigns the blendshapes from the first [[Component:SkinnedMeshRenderer]] based on the matching rules from [[Visemes]] to the drive fields of this component.
}}
}}


== Behavior ==
== Usage ==
{{stub}}


== Examples ==
== Examples ==


== See Also ==
== See Also ==
* [[Component:VisemeAnalyzer]]


[[Category:Components:Rendering{{#translation:}}|Direct Viseme Driver]]
[[Category:Components:Rendering{{#translation:}}|Direct Viseme Driver]]
[[Category:Components{{#translation:}}|Direct Viseme Driver]]
[[Category:Components{{#translation:}}|Direct Viseme Driver]]
[[Category:ComponentStubs]]

Latest revision as of 06:30, 17 March 2025

Component image 
Direct Viseme Driver component as seen in the Scene Inspector

The DirectVisemeDriver component takes a viseme analyser source and a few modifying sources in order to drive a list of Visemes.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Source VisemeAnalyzer The viseme analyser used as a source of data.
MouthTrackingSource IMouthTrackingSourceComponent A source of mouth tracking that influences final results. Use a Component:AvatarMouthDataSourceAssigner To assign to this automatically.
StrengthMultiplier Float How much to multiply the values from Source before sending them to the drives on this component.
VoiceMouthSupressWeight Float How much visemes should be affected by MouthTrackingSource if the user is not talking. Lower values mean the affect from MouthTrackingSource is greater.
LaughThreshold Float How much probability for laughter is needed before it sends it to Laugh
LaughBeginSpeed Float How fast Laugh transitions to 100%.
LaughEndSpeed Float How fast Laugh transitions to 0%.
Silence field drive of Float How quiet the source data is overall.
PP field drive of Float The field to drive with PP from Source after applying filters from this component.
FF field drive of Float The field to drive with FF from Source after applying filters from this component.
TH field drive of Float The field to drive with TH from Source after applying filters from this component.
DD field drive of Float The field to drive with DD from Source after applying filters from this component.
kk field drive of Float The field to drive with kk from Source after applying filters from this component.
CH field drive of Float The field to drive with CH from Source after applying filters from this component.
SS field drive of Float The field to drive with SS from Source after applying filters from this component.
nn field drive of Float The field to drive with nn from Source after applying filters from this component.
RR field drive of Float The field to drive with RR from Source after applying filters from this component.
aa field drive of Float The field to drive with aa from Source after applying filters from this component.
E field drive of Float The field to drive with E from Source after applying filters from this component.
ih field drive of Float The field to drive with ih from Source after applying filters from this component.
oh field drive of Float The field to drive with oh from Source after applying filters from this component.
ou field drive of Float The field to drive with ou from Source after applying filters from this component.
Laugh field drive of Float The field to drive with Laugh from Source after applying filters from this component.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
AutoAssignTargets:ButtonEventHandler ButtonEventHandler Assigns the blendshapes from the first Component:SkinnedMeshRenderer based on the matching rules from Visemes to the drive fields of this component.

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Examples

See Also