Asset

From Resonite Wiki
Revision as of 01:25, 4 June 2024 by AmasterAmaster (talk | contribs) (Created a page for Assets. Marked it as a stub as I feel this could use a bit more information.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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


an Asset in the context of Resonite, is an object that represents content, either from a user importing it or built into resonite.

Some examples of assets are:

Asset Type Description
Texture a 2D image.
Audio audio data asset.

Assets are usually stored in the Assets Slot in a world, and are regularly garbage collected to optimize a world.

Importing

Users can import many different asset types, either by pasting Ctrl+V, using the File Browser, or dragging and dropping it into Resonite itself, and then using the Resonite dialog to bring it in. As long as the file type is supported, Resonite will process it.

Exporting

Assets and data can be brought out of Resonite in many different ways:

Types

Assets are used in IAssetProviders are used to reference an asset like a reference type in components and ProtoFlux.

Metadata

Assets contain metadata and this can be used to access information about the asset.