AL_USDMaya
0.16.6
USD to Maya Bridge
|
This is a little helper object designed to reduce the amount of boilerplate GUI code you need to jump through to add your own nodes that match a USD schema type. It has been designed to attempt to match the attribute types of USD as closely as possible, so adds support for 2x2 / 3x3 matrix types, half float support, etc. More...
#include <NodeHelper.h>
Public Member Functions | |
NodeHelper () | |
ctor | |
~NodeHelper () | |
dtor | |
Static Public Member Functions | |
Access Input Values from an MDataBlock | |
static bool | inputBoolValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input boolean value from the dataBlock from the specified attribute More... | |
static int8_t | inputInt8Value (MDataBlock &dataBlock, const MObject &attribute) |
get an input 8 bit integer value from the dataBlock from the specified attribute More... | |
static int16_t | inputInt16Value (MDataBlock &dataBlock, const MObject &attribute) |
get an input 16 bit integer value from the dataBlock from the specified attribute More... | |
static int32_t | inputInt32Value (MDataBlock &dataBlock, const MObject &attribute) |
get an input 32 bit integer value from the dataBlock from the specified attribute More... | |
static int64_t | inputInt64Value (MDataBlock &dataBlock, const MObject &attribute) |
get an input 64 bit integer value from the dataBlock from the specified attribute More... | |
static float | inputFloatValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input float value from the dataBlock from the specified attribute More... | |
static double | inputDoubleValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input double value from the dataBlock from the specified attribute More... | |
static MMatrix | inputMatrixValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input matrix value from the dataBlock from the specified attribute More... | |
static MPoint | inputPointValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input point value from the dataBlock from the specified attribute More... | |
static MFloatPoint | inputFloatPointValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input point value from the dataBlock from the specified attribute More... | |
static MVector | inputVectorValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input vector value from the dataBlock from the specified attribute More... | |
static MTime | inputTimeValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input time value from the dataBlock from the specified attribute More... | |
static MFloatVector | inputFloatVectorValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input vector value from the dataBlock from the specified attribute More... | |
static MColor | inputColourValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input colour value from the dataBlock from the specified attribute More... | |
static MString | inputStringValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input string value from the dataBlock from the specified attribute More... | |
static MPxData * | inputDataValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input data value from the dataBlock from the specified attribute More... | |
template<typename MPxDataType > | |
static MPxDataType * | inputDataValue (MDataBlock &dataBlock, const MObject &attribute) |
get an input data value from the dataBlock from the specified attribute More... | |
Set Output Values from an MDataBlock | |
static MStatus | outputBoolValue (MDataBlock &dataBlock, const MObject &attribute, bool value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputInt8Value (MDataBlock &dataBlock, const MObject &attribute, int8_t value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputInt16Value (MDataBlock &dataBlock, const MObject &attribute, int16_t value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputInt32Value (MDataBlock &dataBlock, const MObject &attribute, int32_t value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputInt64Value (MDataBlock &dataBlock, const MObject &attribute, int64_t value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputFloatValue (MDataBlock &dataBlock, const MObject &attribute, float value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputDoubleValue (MDataBlock &dataBlock, const MObject &attribute, double value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputMatrixValue (MDataBlock &dataBlock, const MObject &attribute, const MMatrix &value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputPointValue (MDataBlock &dataBlock, const MObject &attribute, const MPoint &value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputFloatPointValue (MDataBlock &dataBlock, const MObject &attribute, const MFloatPoint &value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputVectorValue (MDataBlock &dataBlock, const MObject &attribute, const MVector &value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputEulerValue (MDataBlock &dataBlock, const MObject &attribute, const MEulerRotation &value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputFloatVectorValue (MDataBlock &dataBlock, const MObject &attribute, const MFloatVector &value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputColourValue (MDataBlock &dataBlock, const MObject &attribute, const MColor &value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputStringValue (MDataBlock &dataBlock, const MObject &attribute, const MString &value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputTimeValue (MDataBlock &dataBlock, const MObject &attribute, const MTime &value) |
Set the output value of the specified attribute in the datablock. More... | |
static MStatus | outputDataValue (MDataBlock &dataBlock, const MObject &attribute, MPxData *value) |
Set the output value of the specified attribute in the datablock. More... | |
static MPxData * | createData (const MTypeId &dataTypeId, MObject &data) |
helper method to create new data objects of the specified data type More... | |
template<typename MPxDataType > | |
static MPxDataType * | createData (const MTypeId &dataTypeId, MObject &data) |
helper method to create new data objects of the specified data type More... | |
Specify the attributes of a node, and AE GUI generation | |
enum | AttributeFlags { kCached = 1 << 0, kReadable = 1 << 1, kWritable = 1 << 2, kStorable = 1 << 3, kAffectsAppearance = 1 << 4, kKeyable = 1 << 5, kConnectable = 1 << 6, kArray = 1 << 7, kColour = 1 << 8, kHidden = 1 << 9, kInternal = 1 << 10, kAffectsWorldSpace = 1 << 11, kUsesArrayDataBuilder = 1 << 12, kDontAddToNode = 1 << 30, kDynamic = 1 << 31 } |
A set of bit flags you can apply to an attribute. More... | |
enum | FileMode { kSave = 0, kLoad = 1, kDirectoryWithFiles = 2, kDirectory = 3, kMultiLoad = 4 } |
Specify the type of file/dir path when adding file path attributes. See addFilePathAttr. More... | |
static void | setNodeType (const MString &typeName) |
Sets the node type name you are adding attributes. Please call this before adding any frames! More... | |
static void | addFrame (const char *frameTitle) |
Add a new frame control into the AE template. More... | |
static MObject | addCompoundAttr (const char *longName, const char *shortName, uint32_t flags, std::initializer_list< MObject > list) |
add a new compound attribute to this node type More... | |
static MObject | addEnumAttr (const char *longName, const char *shortName, uint32_t flags, const char *const *strings, const int16_t *values) |
add a new enum attribute to this node type More... | |
static MObject | addStringAttr (const char *longName, const char *shortName, uint32_t flags, bool forceShow=false) |
add a new string attribute to this node type. More... | |
static MObject | addFilePathAttr (const char *longName, const char *shortName, uint32_t flags, FileMode fileMode, const char *fileFilter="") |
add a new file path attribute to this node type. More... | |
static MObject | addInt8Attr (const char *longName, const char *shortName, int8_t defaultValue, uint32_t flags) |
add a new integer attribute to this node type. More... | |
static MObject | addInt16Attr (const char *longName, const char *shortName, int16_t defaultValue, uint32_t flags) |
add a new integer attribute to this node type. More... | |
static MObject | addInt32Attr (const char *longName, const char *shortName, int32_t defaultValue, uint32_t flags) |
add a new integer attribute to this node type. More... | |
static MObject | addInt64Attr (const char *longName, const char *shortName, int64_t defaultValue, uint32_t flags) |
add a new integer attribute to this node type. More... | |
static MObject | addFloatAttr (const char *longName, const char *shortName, float defaultValue, uint32_t flags) |
add a new floating point attribute to this node type. More... | |
static MObject | addDoubleAttr (const char *longName, const char *shortName, double defaultValue, uint32_t flags) |
add a new double attribute to this node type. More... | |
static MObject | addTimeAttr (const char *longName, const char *shortName, const MTime &defaultValue, uint32_t flags) |
add a new time attribute to this node type. More... | |
static MObject | addDistanceAttr (const char *longName, const char *shortName, const MDistance &defaultValue, uint32_t flags) |
add a new time attribute to this node type. More... | |
static MObject | addAngleAttr (const char *longName, const char *shortName, const MAngle &defaultValue, uint32_t flags) |
add a new time attribute to this node type. More... | |
static MObject | addBoolAttr (const char *longName, const char *shortName, bool defaultValue, uint32_t flags) |
add a new boolean attribute to this node type. More... | |
static MObject | addFloat3Attr (const char *longName, const char *shortName, float defaultX, float defaultY, float defaultZ, uint32_t flags) |
add a new float3 attribute to this node type. More... | |
static MObject | addAngle3Attr (const char *longName, const char *shortName, float defaultX, float defaultY, float defaultZ, uint32_t flags) |
add a new float3 attribute to this node type. More... | |
static MObject | addDistance3Attr (const char *longName, const char *shortName, float defaultX, float defaultY, float defaultZ, uint32_t flags) |
add a new float3 attribute to this node type. More... | |
static MObject | addPointAttr (const char *longName, const char *shortName, const MPoint &defaultValue, uint32_t flags) |
add a new point attribute to this node type. More... | |
static MObject | addFloatPointAttr (const char *longName, const char *shortName, const MFloatPoint &defaultValue, uint32_t flags) |
add a new float point attribute to this node type. More... | |
static MObject | addVectorAttr (const char *longName, const char *shortName, const MVector &defaultValue, uint32_t flags) |
add a new vector attribute to this node type. More... | |
static MObject | addFloatVectorAttr (const char *longName, const char *shortName, const MFloatVector &defaultValue, uint32_t flags) |
add a new float vector attribute to this node type. More... | |
static MObject | addColourAttr (const char *longName, const char *shortName, const MColor &defaultValue, uint32_t flags) |
add a new colour attribute to this node type. More... | |
static MObject | addMatrix2x2Attr (const char *longName, const char *shortName, const float defaultValue[2][2], uint32_t flags) |
add a new matrix attribute to this node type. More... | |
static MObject | addMatrix3x3Attr (const char *longName, const char *shortName, const float defaultValue[3][3], uint32_t flags) |
add a new matrix attribute to this node type. More... | |
static MObject | addMatrixAttr (const char *longName, const char *shortName, const MMatrix &defaultValue, uint32_t flags) |
add a new matrix attribute to this node type. More... | |
static MObject | addDataAttr (const char *longName, const char *shortName, MFnData::Type type, uint32_t flags, MFnAttribute::DisconnectBehavior behaviour=MFnAttribute::kNothing) |
add a new data attribute to this node type. More... | |
static MObject | addDataAttr (const char *longName, const char *shortName, const MTypeId &type, uint32_t flags, MFnAttribute::DisconnectBehavior behaviour=MFnAttribute::kNothing) |
add a new data attribute to this node type. More... | |
static MObject | addMessageAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new message attribute to this node type. More... | |
static MObject | addVec2hAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 2D vector attribute to this node type. More... | |
static MObject | addVec2fAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 2D vector attribute to this node type. More... | |
static MObject | addVec2iAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 2D vector attribute to this node type. More... | |
static MObject | addVec2dAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 2D vector attribute to this node type. More... | |
static MObject | addVec3hAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 3D vector attribute to this node type. More... | |
static MObject | addVec3fAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 3D vector attribute to this node type. More... | |
static MObject | addVec3iAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 3D vector attribute to this node type. More... | |
static MObject | addVec3dAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 3D vector attribute to this node type. More... | |
static MObject | addVec4hAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 4D vector attribute to this node type. More... | |
static MObject | addVec4fAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 4D vector attribute to this node type. More... | |
static MObject | addVec4iAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 4D vector attribute to this node type. More... | |
static MObject | addVec4dAttr (const char *longName, const char *shortName, uint32_t flags) |
add a new 4D vector attribute to this node type. More... | |
template<typename datatype > | |
static void | setMinMax (MObject obj, datatype minimum, datatype maximum) |
set the min/max values on a numeric attribute More... | |
template<typename datatype > | |
static void | setMinMax (MObject obj, datatype minimum, datatype maximum, datatype softmin, datatype softmax) |
set the min/max/softmax values on a numeric attribute More... | |
static void | addBaseTemplate (const std::string &baseTemplate) |
used to add additional references to AETemplate calls for standard types, e.g. "AEsurfaceShapeTemplate" these will be inserted into the correct location More... | |
static void | generateAETemplate () |
This method will construct up the MEL script code for the attribute editor template for your node. Once constructed, the code will be executed silently in the background. If you wish to see the code being executed, enable 'echo all commands' in the MEL script editor prior to loading your plug-in. | |
Add Dynamic Attributes to Node | |
static MStatus | addStringAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, bool forceShow=false, MObject *attribute=0) |
add a new string attribute to this node type. More... | |
static MStatus | addFilePathAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, FileMode fileMode, const char *fileFilter="", MObject *attribute=0) |
add a new file path attribute to this node type. More... | |
static MStatus | addInt8Attr (const MObject &node, const char *longName, const char *shortName, int8_t defaultValue, uint32_t flags, MObject *attribute=0) |
add a new integer attribute to this node type. More... | |
static MStatus | addInt16Attr (const MObject &node, const char *longName, const char *shortName, int16_t defaultValue, uint32_t flags, MObject *attribute=0) |
add a new integer attribute to this node type. More... | |
static MStatus | addInt32Attr (const MObject &node, const char *longName, const char *shortName, int32_t defaultValue, uint32_t flags, MObject *attribute=0) |
add a new integer attribute to this node type. More... | |
static MStatus | addInt64Attr (const MObject &node, const char *longName, const char *shortName, int64_t defaultValue, uint32_t flags, MObject *attribute=0) |
add a new integer attribute to this node type. More... | |
static MStatus | addFloatAttr (const MObject &node, const char *longName, const char *shortName, float defaultValue, uint32_t flags, MObject *attribute=0) |
add a new floating point attribute to this node type. More... | |
static MStatus | addDoubleAttr (const MObject &node, const char *longName, const char *shortName, double defaultValue, uint32_t flags, MObject *attribute=0) |
add a new double attribute to this node type. More... | |
static MStatus | addTimeAttr (const MObject &node, const char *longName, const char *shortName, const MTime &defaultValue, uint32_t flags, MObject *attribute=0) |
add a new time attribute to this node type. More... | |
static MStatus | addDistanceAttr (const MObject &node, const char *longName, const char *shortName, const MDistance &defaultValue, uint32_t flags, MObject *attribute=0) |
add a new time attribute to this node type. More... | |
static MStatus | addAngleAttr (const MObject &node, const char *longName, const char *shortName, const MAngle &defaultValue, uint32_t flags, MObject *attribute=0) |
add a new time attribute to this node type. More... | |
static MStatus | addBoolAttr (const MObject &node, const char *longName, const char *shortName, bool defaultValue, uint32_t flags, MObject *attribute=0) |
add a new boolean attribute to this node type. More... | |
static MStatus | addFloat3Attr (const MObject &node, const char *longName, const char *shortName, float defaultX, float defaultY, float defaultZ, uint32_t flags, MObject *attribute=0) |
add a new float3 attribute to this node type. More... | |
static MStatus | addAngle3Attr (const MObject &node, const char *longName, const char *shortName, float defaultX, float defaultY, float defaultZ, uint32_t flags, MObject *attribute=0) |
add a new float3 attribute to this node type. More... | |
static MStatus | addPointAttr (const MObject &node, const char *longName, const char *shortName, const MPoint &defaultValue, uint32_t flags, MObject *attribute=0) |
add a new point attribute to this node type. More... | |
static MStatus | addFloatPointAttr (const MObject &node, const char *longName, const char *shortName, const MFloatPoint &defaultValue, uint32_t flags, MObject *attribute=0) |
add a new float point attribute to this node type. More... | |
static MStatus | addVectorAttr (const MObject &node, const char *longName, const char *shortName, const MVector &defaultValue, uint32_t flags, MObject *attribute=0) |
add a new vector attribute to this node type. More... | |
static MStatus | addFloatVectorAttr (const MObject &node, const char *longName, const char *shortName, const MFloatVector &defaultValue, uint32_t flags, MObject *attribute=0) |
add a new float vector attribute to this node type. More... | |
static MStatus | addColourAttr (const MObject &node, const char *longName, const char *shortName, const MColor &defaultValue, uint32_t flags, MObject *attribute=0) |
add a new colour attribute to this node type. More... | |
static MStatus | addMatrixAttr (const MObject &node, const char *longName, const char *shortName, const MMatrix &defaultValue, uint32_t flags, MObject *attribute=0) |
add a new matrix attribute to this node type. More... | |
static MStatus | addMatrix2x2Attr (const MObject &node, const char *longName, const char *shortName, const float defaultValue[2][2], uint32_t flags, MObject *attribute=0) |
add a new matrix attribute to this node type. More... | |
static MStatus | addMatrix3x3Attr (const MObject &node, const char *longName, const char *shortName, const float defaultValue[3][3], uint32_t flags, MObject *attribute=0) |
add a new matrix attribute to this node type. More... | |
static MStatus | addDataAttr (const MObject &node, const char *longName, const char *shortName, MFnData::Type type, uint32_t flags, MFnAttribute::DisconnectBehavior behaviour=MFnAttribute::kNothing, MObject *attribute=0) |
add a new data attribute to this node type. More... | |
static MStatus | addDataAttr (const MObject &node, const char *longName, const char *shortName, const MTypeId &type, uint32_t flags, MFnAttribute::DisconnectBehavior behaviour=MFnAttribute::kNothing, MObject *attribute=0) |
add a new data attribute to this node type. More... | |
static MStatus | addMessageAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new message attribute to this node type. More... | |
static MStatus | addVec2hAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 2D floating point vector attribute to this node type. More... | |
static MStatus | addVec2fAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 2D floating point vector attribute to this node type. More... | |
static MStatus | addVec2iAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 2D integer vector attribute to this node type. More... | |
static MStatus | addVec2dAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 2D double precision vector attribute to this node type. More... | |
static MStatus | addVec3hAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 3D floating point vector attribute to this node type. More... | |
static MStatus | addVec3fAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 3D floating point vector attribute to this node type. More... | |
static MStatus | addVec3iAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 3D integer vector attribute to this node type. More... | |
static MStatus | addVec3dAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 3D double precision vector attribute to this node type. More... | |
static MStatus | addVec4hAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 4D floating point vector attribute to this node type. More... | |
static MStatus | addVec4fAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 4D floating point vector attribute to this node type. More... | |
static MStatus | addVec4iAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 4D integer vector attribute to this node type. More... | |
static MStatus | addVec4dAttr (const MObject &node, const char *longName, const char *shortName, uint32_t flags, MObject *attribute=0) |
add a new 4D double precision vector attribute to this node type. More... | |
This is a little helper object designed to reduce the amount of boilerplate GUI code you need to jump through to add your own nodes that match a USD schema type. It has been designed to attempt to match the attribute types of USD as closely as possible, so adds support for 2x2 / 3x3 matrix types, half float support, etc.
In order to use this class, you should inherit from which ever MPxNode type you need (e.g. MPxLocator, MPxSurfaceShape, etc), as well as the NodeHelper class. So your header file should look something like this:
And then in the cpp file...
and finally, within your main plugin.cpp, you should be able to simply do:
A set of bit flags you can apply to an attribute.
|
static |
add a new float3 attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultX | the default value for the attribute |
defaultY | the default value for the attribute |
defaultZ | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new float3 attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultX | the default value for the attribute |
defaultY | the default value for the attribute |
defaultZ | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new time attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new time attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
inlinestatic |
used to add additional references to AETemplate calls for standard types, e.g. "AEsurfaceShapeTemplate" these will be inserted into the correct location
baseTemplate | the additional AE template UI |
|
static |
add a new boolean attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new boolean attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
inlinestatic |
add a new colour attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
inlinestatic |
add a new colour attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new compound attribute to this node type
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
list | the attributes you wish to add as children to this node. |
|
static |
add a new data attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
type | the data type for the attribute |
behaviour | optionally control what happens when the attribute is disconnected |
|
static |
add a new data attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
type | the data type for the attribute |
behaviour | optionally control what happens when the attribute is disconnected |
|
static |
add a new data attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
type | the data type for the attribute |
behaviour | optionally control what happens when the attribute is disconnected |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new data attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
type | the data type for the attribute |
behaviour | optionally control what happens when the attribute is disconnected |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new float3 attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultX | the default value for the attribute |
defaultY | the default value for the attribute |
defaultZ | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new time attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new time attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new double attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new double attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new enum attribute to this node type
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
strings | an array of text strings for the enum values. This last item in this array must be NULL |
values | an array of numeric enum values. |
|
static |
add a new file path attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
fileMode | an enum that determines whether the GUI should display a file open dialog, file save, or directory dialog. |
fileFilter | a file filter of the form: "USD Files (*.usd*) (*.usd*);;Alembic Files (*.abc) (*.abc);;All files (*.*) (*.*)" |
|
static |
add a new file path attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
fileFilter | a file filter of the form: "USD Files (*.usd*) (*.usd*);;Alembic Files (*.abc) (*.abc);;All files (*.*) (*.*)" |
fileMode | an enum that determines whether the GUI should display a file open dialog, file save, or directory dialog. |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new float3 attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultX | the default value for the attribute |
defaultY | the default value for the attribute |
defaultZ | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new float3 attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultX | the default value for the attribute |
defaultY | the default value for the attribute |
defaultZ | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new floating point attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new floating point attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
inlinestatic |
add a new float point attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
inlinestatic |
add a new float point attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
inlinestatic |
add a new float vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
inlinestatic |
add a new float vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
Add a new frame control into the AE template.
frameTitle | the text to appear in the ui frame |
|
static |
add a new integer attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new integer attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new integer attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new integer attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new integer attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new integer attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new integer attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new integer attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new matrix attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new matrix attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new matrix attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new matrix attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new matrix attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new matrix attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new message attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new message attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new point attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new point attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new string attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
forceShow | force attribute to be shown. Used in case attribute is not writable but needs to be shown i.e. read-only. |
|
static |
add a new string attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
forceShow | force attribute to be shown. Used in case attribute is not writable but needs to be shown i.e. read-only. |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new time attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new time attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new 2D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new 2D double precision vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new 2D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new 2D floating point vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
inlinestatic |
add a new 2D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
inlinestatic |
add a new 2D floating point vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new 2D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new 2D integer vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new 3D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new 3D double precision vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new 3D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new 3D floating point vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
inlinestatic |
add a new 3D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
inlinestatic |
add a new 3D floating point vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new 3D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new 3D integer vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new 4D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new 4D double precision vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new 4D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new 4D floating point vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
inlinestatic |
add a new 4D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
inlinestatic |
add a new 4D floating point vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new 4D vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new 4D integer vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
add a new vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
|
static |
add a new vector attribute to this node type.
longName | long name for the attribute |
shortName | short name for the attribute |
defaultValue | the default value for the attribute |
flags | a bitfield containing a mask of the AttributeFlags enumeration. Describes if the attribute is an input/output/etc |
node | the node to add the attribute to |
attribute | an optional pointer to an MObject in which the attribute handle will be returned |
|
static |
helper method to create new data objects of the specified data type
dataTypeId | the MTypeId of the plugin data object to create |
data | the returned handle to the created data object, usually passed to MDataHandle::set, or MPlug::setValue. |
|
inlinestatic |
helper method to create new data objects of the specified data type
dataTypeId | the MTypeId of the plugin data object to create |
data | the returned handle to the created data object, usually passed to MDataHandle::set, or MPlug::setValue. |
|
static |
get an input boolean value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input colour value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input data value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
inlinestatic |
get an input data value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input double value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input point value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input float value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input vector value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input 16 bit integer value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input 32 bit integer value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input 64 bit integer value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input 8 bit integer value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input matrix value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input point value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input string value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input time value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
get an input vector value from the dataBlock from the specified attribute
dataBlock | the data block to get the value from |
attribute | the handle to the attribute to query |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
static |
Set the output value of the specified attribute in the datablock.
dataBlock | the data block to set the value in |
attribute | the handle to the attribute to set |
value | the attribute value to set |
|
inlinestatic |
set the min/max values on a numeric attribute
obj | the attribute handle |
minimum | the min value for the attribute |
maximum | the max value for the attribute |
|
inlinestatic |
set the min/max/softmax values on a numeric attribute
obj | the attribute handle |
minimum | the min value for the attribute |
maximum | the max value for the attribute |
softmin | the soft min value for the attribute |
softmax | the soft max value for the attribute |
|
static |
Sets the node type name you are adding attributes. Please call this before adding any frames!
typeName | the type name of the node |