Automated: create new component page |
add info |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|Name=Model Exportable | |Name=Model Exportable | ||
}} | }} | ||
The '''ModelExportable''' component is used to mark a slot hierarchy as a model that can be exported to a user's local machine. This will export static and skinned meshes, but is subject to the same restrictions normal model exporting has. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Root|Slot| | |Root|Slot| The slot to treat as a model that can be exported. | ||
|OnlyComponents|{{RootFieldType|SyncRefList`1|[[ | |OnlyComponents|{{RootFieldType|SyncRefList`1|[[Type:Component|Component]]}}|TypeAdv1=true| What components should only be exported, rather than all mesh data components in the hiearchy. If this list is blank, it will not have any affect. | ||
}} | }} | ||
== | == Usage == | ||
{{Template:AssetExportableUsage}} | |||
== Examples == | == Examples == | ||
{{stub}} | |||
== See Also == | == See Also == | ||
{{Template:AssetExportableComponents}} | |||
[[Category:Components:Uncategorized{{#translation:}}|Model Exportable]] | [[Category:Components:Uncategorized{{#translation:}}|Model Exportable]] | ||
[[Category:Components{{#translation:}}|Model Exportable]] | [[Category:Components{{#translation:}}|Model Exportable]] | ||
Latest revision as of 17:35, 13 November 2024
The ModelExportable component is used to mark a slot hierarchy as a model that can be exported to a user's local machine. This will export static and skinned meshes, but is subject to the same restrictions normal model exporting has.
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. |
Root
|
Slot | The slot to treat as a model that can be exported. |
OnlyComponents
|
list of Component | What components should only be exported, rather than all mesh data components in the hiearchy. If this list is blank, it will not have any affect. |
Usage
This component is used mainly to add an export option to the user's context menu as they are holding an item. Which can be used to easily communicate to the user that an item is made for exporting to their local machine. For example, screenshots, figurines, pictures, recorded audio clips, some generated text from protoflux, and Avatars can have Asset exportables like this component to signify that they can be downloaded to one's local storage.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.