Difference between revisions of "Write Latch (LogiX node)"
Line 15: | Line 15: | ||
| style="background-color:{{Impulse-color}}" | | | style="background-color:{{Impulse-color}}" | | ||
| Set | | Set | ||
− | | Impulse | + | | [[:LogiX:Impulses|Impulse]] |
|- | |- | ||
| style="background-color:{{Impulse-color}}" | | | style="background-color:{{Impulse-color}}" | | ||
| Reset | | Reset | ||
− | | Impulse | + | | [[:LogiX:Impulses|Impulse]] |
|- | |- | ||
| style="background-color:{{Dummy-color}}" | | | style="background-color:{{Dummy-color}}" | | ||
Line 39: | Line 39: | ||
| style="background-color:{{IValue-color}}" | | | style="background-color:{{IValue-color}}" | | ||
| Target | | Target | ||
− | | IValue<nowiki><T></nowiki> | + | | [[:Category:Types:IValue`1|IValue<nowiki><T></nowiki>]] |
|- | |- | ||
| style="background-color:{{Impulse-color}}" | | | style="background-color:{{Impulse-color}}" | | ||
| OnSet | | OnSet | ||
− | | Impulse | + | | [[:LogiX:Impulses|Impulse]] |
|- | |- | ||
| style="background-color:{{Impulse-color}}" | | | style="background-color:{{Impulse-color}}" | | ||
| OnReset | | OnReset | ||
− | | Impulse | + | | [[:LogiX:Impulses|Impulse]] |
|} | |} | ||
Revision as of 08:12, 4 September 2020
The Write Latch node overwrites the referenced Target value with the input SetValue or ResetValue when an impulse is received at Set or Reset respectively.
Inputs & Outputs
Color | Label | Type |
Set | Impulse | |
Reset | Impulse | |
SetValue | (dummy) | |
ResetValue | (dummy) |
Color | Label | Type |
Target | IValue<T> | |
OnSet | Impulse | |
OnReset | Impulse |
Usage
When spawned from the node browser the Set/ResetValue input has a dummy (or undetermined) type - this will change to match the input data type when a valid input is connected. The SetValue and ResetValue input type, as well as the referenced Target, must match.
Writing a value with the Write Latch node synchronizes the value across all users in a world. Hence each time this node operates some information must be passed over the network between users. Typically this is negligible (unless writing absolutely huge strings). However, if a large number of writes are occurring it can incur significant network load which may result in lag. If a LogiX setup requires a value to be changing very rapidly and/or continuously, consider driving it directly rather than writing every new value.
Examples
Node Menu
Actions | ||||||
---|---|---|---|---|---|---|
Back | -- | ++ | Drive | Drive Playback | Tween | Write |
Write Latch | Write Ref | Write Ref Latch |