Component:BlendshapeWeightListEditor: Difference between revisions

From Resonite Wiki
Automated: update Fields
Add info
 
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=BlendshapeWeightListEditorComponent.png
|Image=BlendshapeWeightListEditorComponent.png
|Name=Blendshape Weight List Editor
|Name=Blendshape Weight List Editor
}}
}}
Weight list editor is a component that is used within inspectors and shouldn't need to be interacted with by the user. Although, it can be used in very niche circumstances.


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|_targetList|ISyncList|
|_targetList|ISyncList| The list of blendshapes. This can be acquired through grabbing the "BlendShapes" title at the beginning of a blendshape list inside of a [[Component:SkinnedMeshRenderer|Skinned Mesh Renderer]]
|_addNewButton|'''[[Component:Button|Button]]'''|TypeAdv1=true|
|_addNewButton|'''[[Component:Button|Button]]'''|TypeAdv1=true| The button that when pressed, should add a new blendshape to the end of the <code>_targetList</code>. Whether the new blendshape does anything or not depends on if the <code>Mesh</code> data inside of <code>_targetSkin</code> has a blendshape list that reaches as far as the new item.
|_targetSkin|{{RootFieldType|RelayRef`1|[[Component:SkinnedMeshRenderer|SkinnedMeshRenderer]]}}|TypeAdv2=true|
|_targetSkin|{{RootFieldType|RelayRef`1|[[Component:SkinnedMeshRenderer|SkinnedMeshRenderer]]}}|TypeAdv2=true| The skinned Mesh renderer to add a new blendshape item to. Has to be the same component <code>_targetList</code> comes from.
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Add component to a slot and fill the fields, with the proper data explained in the table above. Press the button provided to <code>_addNewButton</code> to add a new blendshape to the targeted skinned Mesh renderer.


<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
Generated automatically inside of inspectors to allow the modification of blendshape lists.


<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Blendshape Weight List Editor]]
[[Category:Components{{#translation:}}|Blendshape Weight List Editor]]
[[Category:Components:Uncategorized{{#translation:}}|Blendshape Weight List Editor]]
[[Category:Components:Uncategorized{{#translation:}}|Blendshape Weight List Editor]]

Latest revision as of 13:25, 16 October 2024

Component image 
Blendshape Weight List Editor component as seen in the Scene Inspector

Weight list editor is a component that is used within inspectors and shouldn't need to be interacted with by the user. Although, it can be used in very niche circumstances.

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.
_targetList ISyncList The list of blendshapes. This can be acquired through grabbing the "BlendShapes" title at the beginning of a blendshape list inside of a Skinned Mesh Renderer
_addNewButton Button The button that when pressed, should add a new blendshape to the end of the _targetList. Whether the new blendshape does anything or not depends on if the Mesh data inside of _targetSkin has a blendshape list that reaches as far as the new item.
_targetSkin direct RelayRef`1<SkinnedMeshRenderer> The skinned Mesh renderer to add a new blendshape item to. Has to be the same component _targetList comes from.

Usage

Add component to a slot and fill the fields, with the proper data explained in the table above. Press the button provided to _addNewButton to add a new blendshape to the targeted skinned Mesh renderer.

Examples

Generated automatically inside of inspectors to allow the modification of blendshape lists.

Related Components