m ProbablePrime moved page AudioExportable (Component) to Component:AudioExportable: Creating component Namespace |
should no longer be a stub |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=AudioExportableComponent.png | |Image=AudioExportableComponent.png | ||
Line 11: | Line 10: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Audio|IAssetProvider`1|TypeString0=IAssetProvider<AudioClip>| | |Audio|IAssetProvider`1|TypeString0=IAssetProvider<AudioClip>| The audio clip to be exported instead of a 3D model. | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
Is used to make an item export an audio clip when a user tries to export the root object. | |||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == 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. | |||
<!--T:5--> | <!--T:5--> | ||
== Related Components == | == Related Components == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Audio Exportable]] | [[Category:Components{{#translation:}}|Audio Exportable]] | ||
[[Category:Components:Assets:Export{{#translation:}}|Audio Exportable]] | [[Category:Components:Assets:Export{{#translation:}}|Audio Exportable]] |
Revision as of 03:51, 14 February 2024
Component image
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
|
IAssetProvider<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.