ProtoFlux:Get Slot: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page Get Slot (ProtoFlux) to ProtoFlux:Get Slot: Testing
m fix titles, gallery
 
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 02:12, 10 February 2024

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

* Slot

The (Slot) the component is attached to.

Examples