Attribute Reference

Reference for standard attributes used and emitted by Natsura nodes.

Natsura uses standard geometry attributes to control growth, drive mappings, and pass data to decorations.

Growth Attributes

These attributes are present on the skeleton (internodes) generated by Simulate.

AttributeTypeDescription
idIntegerUnique identifier for each internode.
parent_idIntegerThe id of the parent internode. -1 for roots.
generationIntegerRecursion depth. 0 = trunk, 1 = first branch, etc.
uFloatNormalized growth progress along the current branch (0.0 at start, 1.0 at tip).
ageFloatTime (in seconds/steps) this internode has been alive.
radiusFloatRadius of the internode (visual thickness).
lengthFloatLength of the internode.
curve_idIntegerUnique ID for the continuous branch curve this internode belongs to.

Control Attributes

You can set these attributes (e.g. via Wrangle) to override behavior per-internode.

AttributeTypeDescription
activeInteger1 = growing, 0 = dormant/stopped.
energyFloatIf used, growth stops when energy reaches 0.
pruneIntegerSet to 1 to mark for removal by the next Prune node.

Mapping Attributes

When using Map, you can drive parameters using any attribute. Common choices:

  • u — Taper effects (thick at base, thin at tip).
  • generation — Make branches shorter as they go higher up the hierarchy.
  • id — Random variation (hash the ID).

Decoration Attributes

Attributes used by Decorations to place assets.

AttributeTypeDescription
variantIntegerSelects which mesh variant to use from a library.
orientVector4Quaternion orientation for the instance.
scaleFloatGlobal scale multiplier for the decoration.