Type:IAsset`1: Difference between revisions

From Resonite Wiki
m added link
Added links.
Line 1: Line 1:
An Asset is usually wrapped by an [[Type:IAssetProvider`1|IAssetProvider<A>]]. Any type that falls under this [[Interface Type|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.
An '''Asset''' is usually wrapped by an [[Type:IAssetProvider`1|IAssetProvider<A>]]. Any type that falls under this [[Interface Type|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|data model]], and cannot be networked at all.


= Possible Asset Types =
= Possible Asset Types =
Line 10: Line 10:
| An [[AnimJ]] file on the cloud.
| An [[AnimJ]] file on the cloud.
|-
|-
| ITexture
| [[ITexture]]
| Any texture type.
| Any texture type.
|-
|-
| Document
| [[Document]]
| A PDF file stored on the cloud
| A PDF file stored on the cloud
|-
|-
| Material
| [[Material]]
| A material in the world.
| A material in the world.
|-
|-

Revision as of 02:42, 30 May 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.