en:toolworks:docs:apparatus:enchaining

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:toolworks:docs:apparatus:enchaining [2022/05/01 10:48] – [Enchaining] vladiusen:toolworks:docs:apparatus:enchaining [2022/05/01 11:00] – [Chunks Proxies] vladius
Line 1: Line 1:
 ====== Enchaining ====== ====== Enchaining ======
  
-Enchaining is a process of selecting a subset of Chunks (or Belts) based on a certain [[en:toolworks:docs:apparatus:filter|Filter]] criteria. Once they are Enchained the corresponding Belts and Chunks are becoming locked, i.e. any structural changes become minimized for the sake of consistent iterating.+Enchaining is a process of selecting a subset of Chunks (or Belts) based on a certain [[en:toolworks:docs:apparatus:filter|Filter]] criteria. Once they are Enchained the corresponding Belts and Chunks are becoming locked, i.e. any structural changes become minimized for the sake of consistent [[en:toolworks:docs:apparatus:iterating|Iterating]].
  
 ===== C++ Workflow ===== ===== C++ Workflow =====
Line 23: Line 23:
 FSolidChain* Chain = Mechanism->EnchainSolid(Filter); FSolidChain* Chain = Mechanism->EnchainSolid(Filter);
 </code> </code>
 +
 +==== Chunks Proxies ====
 +
 +If you want to Iterate the Chunks directly, you would have to Enchain them into a list of Chunks Proxies.
 +
 +In order to do that, a special overloaded [[appi>class_a_mechanism.html#ae72188d973bed3d8484dc5ab87e5e1e1|method]] is present within the API.
 +It accepts an [[ue>API/Runtime/Core/Containers/TArray|array]] of Chunks Proxies as its argument second argument. The first one is of course, a Filter.
  • en/toolworks/docs/apparatus/enchaining.txt
  • Last modified: 2022/07/18 18:12
  • by jispar