Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:GetSlot: Difference between revisions

From Resonite Wiki
add getslot
 
m YoshBot moved page ProtoFlux:Get Slot to ProtoFlux:GetSlot: Automated: removing spaces from ProtoFlux namespace
 
(2 intermediate revisions by 2 users not shown)
Line 16: Line 16:
== Inputs ==
== Inputs ==


=== Component ===
=== Component ([[Type:IComponent|IComponent]]) ===


The [[Type:IComponent | component]] you want to find the slot of.
The [[Type:IComponent|component]] you want to find the slot of.


== Outputs ==
== Outputs ==


=== * ===
=== * [[Slot|Slot]] ===


The [[Type:Slot | slot]] the component is attached to.
The ([[Slot|Slot]]) the component is attached to.


== Examples ==
== Examples ==
 
<gallery widths=480px heights=480px>
[[File:GetSlotExample.png | Simple flux example of GetSlot on an empty object having a single ObjectRoot component. | 750px]]
File:GetSlotExample.png | Simple flux example of GetSlot on an empty object having a single ObjectRoot component.
</gallery>


[[Category:ProtoFlux:Slots]]
[[Category:ProtoFlux:Slots]]

Latest revision as of 00:21, 21 August 2025

Get Slot
Component
*
Slots

Returns the slot the specified component is attached on.

Inputs

Component (IComponent)

The component you want to find the slot of.

Outputs

The (Slot) the component is attached to.

Examples