ProtoFlux:Attach Mesh: Difference between revisions

From Resonite Wiki
Create Attach Mesh ProtoFlux Node Page
 
m style
 
Line 16: Line 16:
|}}
|}}


Attach Mesh is a ProtoFlux node that allows you to attach a provided [[Type:Uri|uri]] as a new [[Component:StaticMesh|StaticMesh]] component and return the StaticMesh raw [[Type:IAsset`1|IAsset`1]] itself.
The '''Attach Mesh''' node allows one to attach a provided [[Type:Uri|Uri]] as a new [[Component:StaticMesh|StaticMesh]] component and return the StaticMesh raw [[Type:IAsset`1|IAsset`1]] itself.


== Inputs ==
== Inputs ==

Latest revision as of 19:02, 3 June 2024

Attach Mesh
*
Next
URL
AttachedProvider
Target
GetExisting
Characters

The Attach Mesh node allows one to attach a provided Uri as a new StaticMesh component and return the StaticMesh 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<Mesh>)

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

Examples