You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/2.0/Khronos/KHR_interactivity/Specification.adoc
+4-42Lines changed: 4 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -417,7 +417,7 @@ Implementations **MAY** restrict the size and complexity of behavior graphs by i
417
417
* The number of nodes
418
418
* The number of graph-defined output flow sockets in operations like `flow/multiGate` or `flow/sequence`
419
419
* The number of configuration-defined output flow sockets in operations like `flow/switch`
420
-
* The number of configuration-defined input value sockets in operations like `pointer/get`, `math/switch`, or `variable/setMultiple`
420
+
* The number of configuration-defined input value sockets in operations like `pointer/get`, `math/switch`, or `variable/set`
421
421
422
422
The graph **MUST** be rejected if it exceeds implementation-defined max values for these properties.
423
423
@@ -3360,45 +3360,7 @@ This node has no internal state.
3360
3360
3361
3361
[cols="1h,1,2"]
3362
3362
|===
3363
-
| Operation | `variable/set` | Set a custom variable value
3364
-
| Configuration
3365
-
| `int variable` | The custom variable index
3366
-
| Input flow sockets
3367
-
| `in` | The entry flow into this node
3368
-
| Input value sockets
3369
-
| `T value` | The new variable value
3370
-
| Output flow sockets
3371
-
| `out` | The flow to be activated after the value is set
3372
-
|===
3373
-
3374
-
[CAUTION]
3375
-
====
3376
-
This node does not have a default configuration.
3377
-
====
3378
-
3379
-
[CAUTION]
3380
-
====
3381
-
The configuration of this node affects its value socket.
3382
-
====
3383
-
3384
-
This node sets a custom variable value using the variable index provided by the `variable` configuration value and the `value` input value.
3385
-
3386
-
The type `T` is determined by the referenced variable. The variable index **MUST** be a non-negative integer less than the total number of custom variables, otherwise the node is invalid and the graph **MUST** be rejected.
3387
-
3388
-
This node has no internal state.
3389
-
3390
-
When the `in` input flow is activated:
3391
-
3392
-
1. Evaluate the `value` input value.
3393
-
2. If the _variable interpolation state dynamic array_ (defined below) contains an entry with the same variable reference, remove it from the array.
3394
-
3. Set the custom variable with the `variable` configuration value index to the `value` input value.
3395
-
4. Activate the `out` output flow.
3396
-
3397
-
===== Variable Set Multiple
3398
-
3399
-
[cols="1h,1,2"]
3400
-
|===
3401
-
| Operation | `variable/setMultiple` | Set multiple variables
3363
+
| Operation | `variable/set` | Set one or more custom variable values
3402
3364
| Configuration
3403
3365
| `int[] variables` | The array containing variable indices
3404
3366
| Input flow sockets
@@ -4936,10 +4898,10 @@ The `variable/set` node sets a custom variable with index `0` when the start eve
0 commit comments