AttributeMap

Read with AI
All docs in one file (llms-full.txt)
AttributeMap #3D #Node
AttributeMap

Maps input T into the Min-Max range and outputs a PointCloud with that value applied to the attribute chosen in the dropdown. This is the node for plugging in the output of audio analysis or an LFO to make “size swells with the sound”. The other dropdown (weight mode) changes how the effect is distributed per point, and what is actually used for the mapping is T × weight.

Target attribute (dropdown)

  • UniformScale (default) — multiplies the mapped value into each point’s scale (lower limit 0.001)
  • ColorGradient — interpolates ColorA to ColorB and overwrites the color
  • RotationY — adds mapped value × 360 degrees to the Y-axis rotation
  • PositionY — adds the mapped value to Y

Weight mode (dropdown)

  • Uniform (default) — 1 for every point
  • IndexRamp — a ramp from 0 at the first point to 1 at the last
  • DistanceFromOrigin — distance from the origin, normalized by the maximum distance in that point cloud
  • Random — a hash determined by the index

Parameters

  • T — clamped to 0-1 (default 1). The constant used when not connected is also saved
  • Min / Max (default 0.5 / 2)
  • ColorA / ColorB — used only by ColorGradient

Only ColorGradient does not use Min / Max; it uses T × weight directly as the interpolation ratio from ColorA to ColorB. The Random weight has no Seed input; it is a fixed pattern determined by the index alone.

Input ports

Port IDType
PointCloudPointCloudInput
Tfloat
Minfloat
Maxfloat
ColorAColor
ColorBColor

Output ports

Port IDType
PointCloudPointCloudOutput

Scriptable members

PathType
tInputfloat
minInputfloat
maxInputfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "AttributeMap" })

Also referenced from