ProtoFlux:Attach Texture2D

From Resonite Wiki
Revision as of 18:16, 19 February 2024 by 989onan (talk | contribs) (Create Attach Texture2D ProtoFlux Node Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Attach Texture2D
*
Next
URL
AttachedProvider
Target
GetExisting
Characters

Attach Texture2D is a ProtoFlux node that allows you to attach a provided uri as a new StaticTexture2D component and return the StaticTexture2D raw IAsset`1 itself.

Inputs

* (Call)

Call to attach the asset.

URL (uri)

The URI of the asset you want to attach. Can be a resdb or a local or a website hosted asset.

Target (Slot)

The slot to attach the asset to.

GetExisting (bool)

Get an existing asset on Target (Slot) of the same URL (uri) or attach a new one.

Outputs

Next (Continuation)

Fires after * (Call) is called and the asset was successfully attached.

AttachedProvider (IAsset`1<Texture2D>)

The attached provider or an existing one on Target (Slot) if GetExisting (bool) is true.

Examples