Component:MaterialSet: Difference between revisions

From Resonite Wiki
Zandario (talk | contribs)
m Removed old Vids & Issues
 
Automated: update Fields, Categories
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
{{Table ComponentFields
{{Table ComponentFields
|ActiveSetIndex|Int| The index into the Sets list of the materials to apply to the target renderer.
|ActiveSetIndex|Int| The index into the Sets list of the materials to apply to the target renderer.
|Target|SyncAssetList`1|TypeString1=SyncAssetList<Material>| The list of materials in a renderer to swap out.
|Target|{{RootFieldType|DriveRef`1|[[Type:SyncAssetList`1|SyncAssetList`1]]&lt;[[Type:Material|Material]]&gt;}}|TypeAdv1=true| The list of materials in a renderer to swap out.
|Sets|SyncList`1|TypeString2=SyncList<SyncAssetList<Material>>| The list of lists of materials in a renderer to swap out.
|Sets|{{RootFieldType|SyncList`1|[[Type:SyncAssetList`1|SyncAssetList`1]]&lt;[[Type:Material|Material]]&gt;}}|TypeAdv2=true| The list of lists of materials in a renderer to swap out.
}}
}}


Line 23: Line 23:


[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components|Material Set]]
[[Category:Components:Rendering:Drivers{{#translation:}}|Material Set]]
[[Category:Components:Rendering:Drivers|Material Set]]
[[Category:Components{{#translation:}}|Material Set]]

Latest revision as of 21:05, 3 March 2024


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


Component image 
Material Set component as seen in the Scene Inspector


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.
ActiveSetIndex Int The index into the Sets list of the materials to apply to the target renderer.
Target direct DriveRef`1<SyncAssetList`1<Material>> The list of materials in a renderer to swap out.
Sets list of SyncAssetList`1<Material> The list of lists of materials in a renderer to swap out.

Usage

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


Examples

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