Unigine::NodeExtern Class
Header: | #include <UnigineNodes.h> |
Inherits: | Node |
NodeExtern is a custom user-defined node created via API.
NodeExtern Class
Members
static NodeExternPtr create(int class_id)
Constructor. Creates a custom user-defined node.Arguments
- int class_id - Unique class ID.
Ptr<NodeExtern> cast(const Ptr<Node> & node)
Casts a NodeExtern out of the Node instance.Arguments
- const Ptr<Node> & node - Pointer to Node.
Return value
Pointer to NodeExtern.int getClassID()
Returns the class ID of the node.Return value
Class ID if the node exists; otherwise, 0.int type()
Returns the type of the node.Return value
NodeExtern type identifier.Last update: 2017-07-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)