3D Spatial / Field

Reassign

Copy a tag from a source field into a target field. Requires matching particle count.

iOSmacOSvisionOS

Inlets

Source

Field

Target

Field

Code

String

Metal shader snippet, to reassign the field values. Position to color: `target = float4(source.xyz, 1.0);`. Color to position: `target = float3(source);`.

Outlets

Field

Field

Properties

Source Tag

Item

Tag to read from the source field.

Target Tag

Item

Tag to write in the target field.

Code

String

Metal shader snippet, to reassign the field values. Position to color: `target = float4(source.xyz, 1.0);`. Color to position: `target = float3(source);`.

Default
target = source;
Inlet
Code

Version history

  1. Added in 4.0.0