3D Spatial / Field
Reassign
Copy a tag from a source field into a target field. Requires matching particle count.
iOSmacOSvisionOS
Inlets
Source
FieldTarget
FieldCode
StringMetal shader snippet, to reassign the field values. Position to color: `target = float4(source.xyz, 1.0);`. Color to position: `target = float3(source);`.
Outlets
Field
FieldProperties
Source Tag
ItemTag to read from the source field.
Target Tag
ItemTag to write in the target field.
Code
StringMetal 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
- Added in 4.0.0