Documentation / Node reference / compute nodes

compute/SetValue

Sets every value of a buffer to one number.

Operations

Runs after the operation wired into 'previous operation', and fills the buffer wired into 'buffer' with `value`. Use it to clear an accumulator before a compute/Builder sums into it: a buffer reused across frames keeps what the last run left.

Parameters

Name Type What it does
value Float The number every scalar of the buffer is set to.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.