ProtoFlux:Is Local Element: Difference between revisions

From Resonite Wiki
Created a page for the Is Local Element node.
 
rewrite node description
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
|}}
|}}


The <code>Is Local Element</code> node takes in a [[Type:IWorldElement|world element]] and returns if that element is local in the world currently. A way for elements to be local is that they need to not be in the [[Data Model]], in other words, they cant be synced with the engine. There is currently no way to check for this without the use of mods.
The <code>Is Local Element</code> node takes in a [[Type:IWorldElement|world element]] and returns if that element is local. A local element is simply an element which isn't synchronized at all, but is still part of the data model. One example of a local element can be observed with the [[Protoflux:Play_One_Shot|Play One Shot]] node, which has an option to create a local clip, when the option is on the output of the node will be a local element.


== Inputs ==
== Inputs ==

Latest revision as of 02:59, 4 April 2025

Is Local Element
Element
*
Elements

The Is Local Element node takes in a world element and returns if that element is local. A local element is simply an element which isn't synchronized at all, but is still part of the data model. One example of a local element can be observed with the Play One Shot node, which has an option to create a local clip, when the option is on the output of the node will be a local element.

Inputs

Element (IWorldElement)

The world element in question.

Outputs

* (bool)

Returns if this element is local in this world.