- Read-only Attributes - These can only be set from C++ and can be read from anywhere.
Setting the value of a read/write attribute
Setting (or registering) an attribute value is simple and can be done from any function at any time (not guaranteed to be thread-safe). You just need to call the registerAttribute method.
Setting the value of a read-only (constant) attribute
Note that attributes can be any type supported by FireBreath.