ProtoFlux:Anchored User: Difference between revisions

From Resonite Wiki
added Anchored User ProtoFlux Node Page with example
 
m fix links
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Name": "Anchor", "Type": "IAnchor"}
{"Name": "Anchor", "Type": "IAvatarAnchor"}
]
]
|Outputs=
|Outputs=
Line 12: Line 12:
|}}
|}}


Anchored User is a ProtoFlux node that returns the [[Type:User|user]] that is anchored to the provided Anchor ([[Type:IAnchor|IAnchor]]). This node will return a null user if there is no user anchored to the anchor.
Anchored User is a ProtoFlux node that returns the [[Type:User|user]] that is anchored to the provided Anchor ([[Type:IAvatarAnchor|IAvatarAnchor]]). This node will return a null user if there is no user anchored to the anchor.


== Inputs ==
== Inputs ==


=== Anchor ([[Type:IAnchor|IAnchor]]) ===
=== Anchor ([[Type:IAvatarAnchor|IAvatarAnchor]]) ===


The anchor to check for an anchored user.
The anchor to check for an anchored user.
Line 29: Line 29:


<gallery widths=480px heights=480px>
<gallery widths=480px heights=480px>
File:Protoflux_example_anchored_user.webp|Example of the anchored user node returning who is in an [[Type:AvatarAnchor|AvatarAnchor]]. The code utilizes a [[ProtoFlux:Filter Input|UI Changeable]] input node type [[Type:IAnchor|IAnchor]] For ease of use.
File:Protoflux_example_anchored_user.webp|Example of the anchored user node returning who is in an [[Type:IAvatarAnchor|IAvatarAnchor]]. The code utilizes a [[ProtoFlux:Filter Input|UI Changeable]] input node type [[Type:IAvatarAnchor|IAvatarAnchor]] For ease of use.
</gallery>
</gallery>
[[Category:ProtoFlux:Avatars:Anchors]]

Latest revision as of 19:29, 9 February 2024

Anchored User
Anchor
User
Anchors

Anchored User is a ProtoFlux node that returns the user that is anchored to the provided Anchor (IAvatarAnchor). This node will return a null user if there is no user anchored to the anchor.

Inputs

Anchor (IAvatarAnchor)

The anchor to check for an anchored user.

Outputs

User (User)

The user that is currently anchored, or null.

Examples