Component:AudioExportable: Difference between revisions

From Resonite Wiki
should no longer be a stub
Automated: update component fields
Line 10: Line 10:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Audio|IAssetProvider`1|TypeString0=IAssetProvider<AudioClip>| The audio clip to be exported instead of a 3D model.
|Audio|AudioClip| The audio clip to be exported instead of a 3D model.
}}
}}



Revision as of 03:44, 1 March 2024

Component image 
Audio Exportable 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.
Audio AudioClip The audio clip to be exported instead of a 3D model.

Usage

Is used to make an item export an audio clip when a user tries to export the root object.

Examples

Default audio clip players use this component so you export the audio, rather than the player as a bunch of empty objects or a 3D model.

Related Components