![]() |
MAK Legion 1.1 API Documentation
|
An attribute descriptor describes a single attribute. More...
Collaboration diagram for Legion::AttributeDescriptor:Public Attributes | |
| std::string | name |
| DataType | type |
| UInt32 | cardinality |
| DataReflectablity | reflectedOnNetwork |
An attribute descriptor describes a single attribute.
Attribute descriptors describe a single attribute of an attribute set. The descriptor's name is used to generate its ID. The Datatype needs to be one of the ones defined in dataTypes.h. The cardinality is either a fixed number or VariableCardinity, which allows for unbounded length arrays of the attribute. There is a slight performance impact using a VariableCardinality attribute.
| UInt32 Legion::AttributeDescriptor::cardinality |
Referenced by Clutter::SimEngine::extendEntityAttributes(), and RegisterCustomEntityAttributes().
| std::string Legion::AttributeDescriptor::name |
Referenced by Clutter::SimEngine::extendEntityAttributes(), and RegisterCustomEntityAttributes().
| DataReflectablity Legion::AttributeDescriptor::reflectedOnNetwork |
Referenced by Clutter::SimEngine::extendEntityAttributes(), and RegisterCustomEntityAttributes().
| DataType Legion::AttributeDescriptor::type |
Referenced by Clutter::SimEngine::extendEntityAttributes(), and RegisterCustomEntityAttributes().