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
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]]

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

The (Slot) the component is attached to.

Examples