User Tools

Site Tools


01_user_documentation:06_graph:02_node:01_attribute

This is an old revision of the document!


Attribute

An attribute is a node field.

Accessor

Attribute accessors are the methods to get and set the attribute value. The accessors of a Node are automatically resolved by the compiler with the syntax:

Sphere s; // has an attribute diameter
s[diameter] = 5; // automatically resolve the setter
float d = s[diameter]; // automatically resolve the getter
01_user_documentation/06_graph/02_node/01_attribute.1756992979.txt.gz · Last modified: 2025/09/04 15:36 by gaetan