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.