Enzo
Loading...
Searching...
No Matches
enzo::nt::NodeAlias Struct Reference

A tab menu entry that creates a node of another type with its own starting values. More...

#include <NodeAlias.h>

Public Member Functions

std::string getFullName () const
 Returns the name that uniquely identifies the alias, such as "enzo::mountain".
 
const std::string & getLabel () const
 Returns the label shown in the tab menu, such as "Mountain".
 

Public Attributes

std::string internalName
 
std::string typeNamespace
 The namespace the alias was published under, such as "enzo".
 
std::string displayName
 
std::vector< std::string > tags
 The words the tab menu searches on.
 
std::string aliasedType
 The full name of the node type the alias creates, such as "enzo::attributeNoise".
 
std::vector< ParameterSerializableparameterValues
 The starting values set on each node the alias creates.
 

Detailed Description

A tab menu entry that creates a node of another type with its own starting values.

A node created from the "enzo::mountain" alias is an "enzo::attributeNoise" node whose parameters start at the values the alias gives them.

Note
The node keeps no record of the alias, so its parameters reset to the defaults of its own type.

The documentation for this struct was generated from the following file: