Type:IAsset`1: Difference between revisions

From Resonite Wiki
add link to animation
clarified that IAsset is not in the data model unlike IAssetProviders
Line 1: Line 1:
An Asset is usually wrapped by an [[Type:IAssetProvider`1|IAssetProvider<A>]]. Any type that falls under this interface has no ProtoFlux input type, and has to be obtained through a [[ProtoFlux:Get Asset|GetAsset<A>]].  
An Asset is usually wrapped by an [[Type:IAssetProvider`1|IAssetProvider<A>]]. Any type that falls under this interface has no ProtoFlux input type, and has to be obtained through a [[ProtoFlux:Get Asset|GetAsset<A>]]. This is because IAsset`1s are not in the Resonite data model, and cannot be networked at all.


= Possible Asset Types =
= Possible Asset Types =

Revision as of 22:06, 8 February 2024

An Asset is usually wrapped by an IAssetProvider<A>. Any type that falls under this interface has no ProtoFlux input type, and has to be obtained through a GetAsset<A>. This is because IAsset`1s are not in the Resonite data model, and cannot be networked at all.

Possible Asset Types

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


Value Description
Animation An AnimJ file on the cloud.
ITexture Any texture type.
Document A PDF file stored on the cloud
Material A material in the world.