Component:AvatarMouthDataSourceAssigner: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page AvatarMouthDataSourceAssigner (Component) to Component:AvatarMouthDataSourceAssigner: Creating component Namespace
add info
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
|Name=AvatarMouthDataSourceAssigner
|Name=AvatarMouthDataSourceAssigner
}}
}}
 
Avatar Mouth Data Source Assigner is a component that is able to assign a mouth tracking source to a field that accepts it.
<!--T:2-->
== Intoduction ==


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|TargetReference|SyncRef`1|TypeString0=SyncRef<IMouthTrackingSourceComponent>|  
|TargetReference|'''[[Type:SyncRef`1|SyncRef`1]]&lt;[[Type:IMouthTrackingSourceComponent|IMouthTrackingSourceComponent]]&gt;'''|TypeAdv0=true| A field that accepts a mouth tracking source (like <code>DataSource</code> on the [[Component:AvatarExpressionDriver|Avatar Expression Driver Component]]) to assign a tracking source to.
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== Behavior ==
This component is triggered when a user equips an avatar that has this component as part of the hierarchy. The user that equipped the avatar needs to have an active mouth data source on their client, such as a Vive facial tracker, or using a [[Mods|mod]] that creates a source for mouth tracking (like [https://github.com/hazre/VRCFTReceiver VRCFTReceiver])


<!--T:5-->
<!--T:5-->
== Examples ==
== Examples ==
This can be used to assign the mouth tracking source on a [[Component:AvatarExpressionDriver|Avatar Expression Driver Component]] to enable facial movements on an avatar via facial tracking.


<!--T:6-->
<!--T:6-->
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:Components{{#translation:}}|AvatarMouthDataSourceAssigner (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Avatar Mouth Data Source Assigner]]
[[Category:ComponentStubs]]
[[Category:Components:Users:Common Avatar System:Face{{#translation:}}|Avatar Mouth Data Source Assigner]]
[[Category:Components:Users:Common Avatar System:Face{{#translation:}}|AvatarMouthDataSourceAssigner (Component){{#translation:}}]]

Latest revision as of 16:12, 15 October 2024


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


Component image 
AvatarMouthDataSourceAssigner component as seen in the Scene Inspector

Avatar Mouth Data Source Assigner is a component that is able to assign a mouth tracking source to a field that accepts it.

Usage

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.
TargetReference SyncRef`1<IMouthTrackingSourceComponent> A field that accepts a mouth tracking source (like DataSource on the Avatar Expression Driver Component) to assign a tracking source to.

Behavior

This component is triggered when a user equips an avatar that has this component as part of the hierarchy. The user that equipped the avatar needs to have an active mouth data source on their client, such as a Vive facial tracker, or using a mod that creates a source for mouth tracking (like VRCFTReceiver)

Examples

This can be used to assign the mouth tracking source on a Avatar Expression Driver Component to enable facial movements on an avatar via facial tracking.

Related Components