maxon::NODE::ATTRIBUTE Namespace Reference

Functions

 MAXON_RESOURCE_DATABASE_SCOPE ("net.maxon.node.attribute")
 
 MAXON_ATTRIBUTE (Int, ORDERINDEX, "net.maxon.node.attribute.orderindex")
 
 MAXON_ATTRIBUTE (Int, INSERTINDEX, "net.maxon.node.attribute.insertindex")
 
 MAXON_ATTRIBUTE (Bool, INTERNALHIDDEN, "net.maxon.node.attribute.internalhidden")
 
 MAXON_ATTRIBUTE (Bool, CONSTANTPARAMETER, "net.maxon.node.attribute.constantparameter")
 
 MAXON_ATTRIBUTE (Bool, OPTIONAL, "net.maxon.node.attribute.optional")
 
 MAXON_ATTRIBUTE (Bool, ISCONVERTERPORT, "net.maxon.node.attribute.isconverterport")
 
 MAXON_ATTRIBUTE (Bool, ISPREVIEWPORT, "net.maxon.node.attribute.ispreviewport")
 
 MAXON_ATTRIBUTE (InternedId, COPYUNITSFROMOUTPORT, "net.maxon.node.attribute.copyunitsfromoutport")
 
 MAXON_ATTRIBUTE (Bool, HIDEPORTINNODEGRAPH, "net.maxon.node.attribute.hideportinnodegraph")
 
 MAXON_ATTRIBUTE (Bool, MATERIALEDITORSHOWONLEFTSIDE, "net.maxon.node.attribute.materialeditorshowonleftside")
 
 MAXON_ATTRIBUTE (InternedId, MATERIALEDITORGROUPACTIVATION, "net.maxon.node.attribute.materialeditorgroupactivation")
 
 MAXON_ATTRIBUTE (InternedId, SCENEPORTMODE, "net.maxon.node.attribute.sceneportmode")
 
 MAXON_ATTRIBUTE (void, SCENEPORTMODE_ENUM_NONE, "none")
 
 MAXON_ATTRIBUTE (void, SCENEPORTMODE_ENUM_OBJECT, "object")
 
 MAXON_ATTRIBUTE (void, SCENEPORTMODE_ENUM_LINK, "link")
 
 MAXON_ATTRIBUTE (void, SCENEPORTMODE_ENUM_MODIFIER, "modifier")
 
 MAXON_ATTRIBUTE (Id, NODECONTEXT, "net.maxon.node.attribute.nodecontext", RESOURCE_DEFINE(ENUM_NODECONTEXT_NET_MAXON, Id("nodecontext#net.maxon")))
 
 MAXON_ATTRIBUTE (IdAndVersion, ASSETID, "net.maxon.node.attribute.assetid")
 
 MAXON_ATTRIBUTE (Id, REPOSITORYID, "net.maxon.node.attribute.repositoryid")
 
 MAXON_ATTRIBUTE (Asset, ASSET, "net.maxon.node.attribute.asset")
 
 MAXON_ATTRIBUTE (Int, ASSETPATHDEPTH, "net.maxon.node.attribute.assetpathdepth")
 

Function Documentation

◆ MAXON_RESOURCE_DATABASE_SCOPE()

maxon::NODE::ATTRIBUTE::MAXON_RESOURCE_DATABASE_SCOPE ( "net.maxon.node.attribute"  )

◆ MAXON_ATTRIBUTE() [1/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Int  ,
ORDERINDEX  ,
"net.maxon.node.attribute.orderindex"   
)

This attribute defines the port order on variadic ports.

◆ MAXON_ATTRIBUTE() [2/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Int  ,
INSERTINDEX  ,
"net.maxon.node.attribute.insertindex"   
)

This attribute defines the node insert order. This can be used to sort for insert order.

◆ MAXON_ATTRIBUTE() [3/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Bool  ,
INTERNALHIDDEN  ,
"net.maxon.node.attribute.internalhidden"   
)

This attribute can be set for nodes or ports to hide them.

◆ MAXON_ATTRIBUTE() [4/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Bool  ,
CONSTANTPARAMETER  ,
"net.maxon.node.attribute.constantparameter"   
)

True if the port needs a constant value.

◆ MAXON_ATTRIBUTE() [5/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Bool  ,
OPTIONAL  ,
"net.maxon.node.attribute.optional"   
)

True if the port is an optional parameter for the node.

◆ MAXON_ATTRIBUTE() [6/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Bool  ,
ISCONVERTERPORT  ,
"net.maxon.node.attribute.isconverterport"   
)

True if the port is a converter port which should show up in the insertconverternode command. Please make sure you marked one input and one output as converter port for a node.

◆ MAXON_ATTRIBUTE() [7/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Bool  ,
ISPREVIEWPORT  ,
"net.maxon.node.attribute.ispreviewport"   
)

True if this port is the default preview calculation output.

◆ MAXON_ATTRIBUTE() [8/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( InternedId  ,
COPYUNITSFROMOUTPORT  ,
"net.maxon.node.attribute.copyunitsfromoutport"   
)

Optional Identifier which defines the outport from which enum/unit/min/max/step values should be copied from

◆ MAXON_ATTRIBUTE() [9/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Bool  ,
HIDEPORTINNODEGRAPH  ,
"net.maxon.node.attribute.hideportinnodegraph"   
)

True if the port should be hidden in the node editor.

◆ MAXON_ATTRIBUTE() [10/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Bool  ,
MATERIALEDITORSHOWONLEFTSIDE  ,
"net.maxon.node.attribute.materialeditorshowonleftside"   
)

True if the attribute should appear only on the left side in the Material Editor.

◆ MAXON_ATTRIBUTE() [11/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( InternedId  ,
MATERIALEDITORGROUPACTIVATION  ,
"net.maxon.node.attribute.materialeditorgroupactivation"   
)

If net.maxon.node.attribute.materialpreviewshowonleftside is true this attribute defines which group should be activated when clicking on the element.

◆ MAXON_ATTRIBUTE() [12/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( InternedId  ,
SCENEPORTMODE  ,
"net.maxon.node.attribute.sceneportmode"   
)

With a mode other than "none" the scene manager uses the port for its scene representation.

◆ MAXON_ATTRIBUTE() [13/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( void  ,
SCENEPORTMODE_ENUM_NONE  ,
"none"   
)

◆ MAXON_ATTRIBUTE() [14/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( void  ,
SCENEPORTMODE_ENUM_OBJECT  ,
"object"   
)

◆ MAXON_ATTRIBUTE() [15/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( void  ,
SCENEPORTMODE_ENUM_LINK  ,
"link"   
)

◆ MAXON_ATTRIBUTE() [16/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( void  ,
SCENEPORTMODE_ENUM_MODIFIER  ,
"modifier"   
)

◆ MAXON_ATTRIBUTE() [17/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Id  ,
NODECONTEXT  ,
"net.maxon.node.attribute.nodecontext"  ,
RESOURCE_DEFINE(ENUM_NODECONTEXT_NET_MAXON, Id("nodecontext#net.maxon"))   
)

Choose the context which this port shall receive it's value from. If the port is connected, the connected value will override any selected context.

◆ MAXON_ATTRIBUTE() [18/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( IdAndVersion  ,
ASSETID  ,
"net.maxon.node.attribute.assetid"   
)

ID of the asset.

◆ MAXON_ATTRIBUTE() [19/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Id  ,
REPOSITORYID  ,
"net.maxon.node.attribute.repositoryid"   
)

ID of the Database where the object is stored.

◆ MAXON_ATTRIBUTE() [20/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Asset  ,
ASSET  ,
"net.maxon.node.attribute.asset"   
)

◆ MAXON_ATTRIBUTE() [21/21]

maxon::NODE::ATTRIBUTE::MAXON_ATTRIBUTE ( Int  ,
ASSETPATHDEPTH  ,
"net.maxon.node.attribute.assetpathdepth"   
)

Depth of the path of the asset in the node system.