Type:IAsset`1: Difference between revisions

From Resonite Wiki
create IAsset to cover components that use <A>
 
Reformat
 
(5 intermediate revisions by 2 users not shown)
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 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 =
= Implementers =
{{Stub}}
{{Stub}}
{| class="wikitable"
* [[Type:Animation|Animation]]
! Value
* [[ITexture]]
! Description
* [[Document]]
|-
* [[Material]]
| Animation
 
| An [[AnimJ]] file on the cloud.
[[Category:Type]]
|-
| ITexture
| Any texture type.
|-
| Document
| A PDF file stored on the cloud
|-
| Material
| A material in the world.
|-
|}

Latest revision as of 22:33, 12 November 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.

Implementers

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