PRM_Type.h houdini HDK参数类型

参数类型

// Some common parm types:

// The terminator for a parm list. Just a zero value.
PRM_API extern const PRM_Type PRM_LIST_TERMINATOR;
// A switcher to create multiple parm pages. Uses tabs to switch pages.
PRM_API extern const PRM_Type PRM_SWITCHER;
// A switcher to create multiple parm pages. Uses radio buttons to switch pages.
PRM_API extern const PRM_Type PRM_SWITCHER_EXCLUSIVE;
// A switcher to create multiple parm pages. Recooks the node when changed.
PRM_API extern const PRM_Type PRM_SWITCHER_REFRESH;
// A non-animatable float value.
PRM_API extern const PRM_Type PRM_FLT_E;
// A float value which can be animated.
PRM_API extern const PRM_Type PRM_FLT;
PRM_API extern const PRM_Type PRM_FLT_J;

// A float value which is represented logarithmically.
PRM_API extern const PRM_Type PRM_FLT_LOG_E;
// A float value which is represented logarithmically which can be animated
PRM_API extern const PRM_Type PRM_FLT_LOG;
// A non-animatable float triple with xyz channels.
PRM_API extern const PRM_Type PRM_XYZ_E;
// A float triple with xyz channel names which can be animated.
PRM_API extern const PRM_Type PRM_XYZ;
PRM_API extern const PRM_Type PRM_XYZ_J;
// A non-animatable float triple with uvw channels.
PRM_API extern const PRM_Type PRM_UVW_E;
// A float triple with uvw channel names which can be animated.
PRM_API extern const PRM_Type PRM_UVW;
PRM_API extern const PRM_Type PRM_UVW_J;
// A non-animatable float triple with rgb channels.
PRM_API extern const PRM_Type PRM_RGB_E;
// A float triple with rgb channel names which can be animated.
PRM_API extern const PRM_Type PRM_RGB;
PRM_API extern const PRM_Type PRM_RGB_J;
// A non-animatable float quad with rgba channels.
PRM_API extern const PRM_Type PRM_RGBA_E;
// A float quad with rgba channel names which can be animated.
PRM_API extern const PRM_Type PRM_RGBA;
PRM_API extern const PRM_Type PRM_RGBA_J;
// A non-animatable float quad with begin/end channels.
PRM_API extern const PRM_Type PRM_BEGINEND_E;
// A float quad with begin/end channel names which can be animated.
PRM_API extern const PRM_Type PRM_BEGINEND;
PRM_API extern const PRM_Type PRM_BEGINEND_J;
// A non-animatable float pair with start/end channel names.
PRM_API extern const PRM_Type PRM_STARTEND_E;
// A float pair with start/end channel names which can be animated.
PRM_API extern const PRM_Type PRM_STARTEND;
PRM_API extern const PRM_Type PRM_STARTEND_J;
// A non-animatable int value.
PRM_API extern const PRM_Type PRM_INT_E;
// An int value which can be animated.
PRM_API extern const PRM_Type PRM_INT;

// A non-animatable int value  which is represented logarithmically.
PRM_API extern const PRM_Type PRM_INT_LOG_E;
// An int value which is represented logarithmically and can be animated.
PRM_API extern const PRM_Type PRM_INT_LOG;


PRM_API extern const PRM_Type PRM_INT_J;
// A non-animatable int triple with xyz channel names.
PRM_API extern const PRM_Type PRM_INT_XYZ_E;
// An int triple with xyz channel names which can be animated.
PRM_API extern const PRM_Type PRM_INT_XYZ;
PRM_API extern const PRM_Type PRM_INT_XYZ_J;
// A non-animatable float pair with min/max channels.
PRM_API extern const PRM_Type PRM_FLT_MINMAX_E;
// A float pair with min/max channel names which can be animated.
PRM_API extern const PRM_Type PRM_FLT_MINMAX;
PRM_API extern const PRM_Type PRM_FLT_MINMAX_J;
// A non-animatable int pair with min/max channels.
PRM_API extern const PRM_Type PRM_INT_MINMAX_E;
// An int pair with min/max channel names which can be animated.
PRM_API extern const PRM_Type PRM_INT_MINMAX;
PRM_API extern const PRM_Type PRM_INT_MINMAX_J;
// A non-animatable int pair with start/end channels.
PRM_API extern const PRM_Type PRM_INT_STARTEND_E;
// An int pair with start/end channel names which can be animated.
PRM_API extern const PRM_Type PRM_INT_STARTEND;
PRM_API extern const PRM_Type PRM_INT_STARTEND_J;
// A ramp editor, which uses a non-animatable float parameter. (LEGACY)
PRM_API extern const PRM_Type PRM_FLT_RAMPEDIT;
// A check box.
PRM_API extern const PRM_Type PRM_TOGGLE_E;
// A check box which can be animated.
PRM_API extern const PRM_Type PRM_TOGGLE;
PRM_API extern const PRM_Type PRM_TOGGLE_J;
// A string that contains an hscript or unix command.
PRM_API extern const PRM_Type PRM_COMMAND;
// A string that points to any file.
PRM_API extern const PRM_Type PRM_FILE_E;
// A string that points to any file which can be animated.
PRM_API extern const PRM_Type PRM_FILE;
// A string that points to an image file.
PRM_API extern const PRM_Type PRM_PICFILE_E;
// A string that points to an image file which can be animated.
PRM_API extern const PRM_Type PRM_PICFILE;
// A string that points to a geometry file.
PRM_API extern const PRM_Type PRM_GEOFILE_E;
// A string that points to a geometry file which can be animated.
PRM_API extern const PRM_Type PRM_GEOFILE;
// A string that points to a capture override file.
PRM_API extern const PRM_Type PRM_CAPTFILE_E;
// A string that points to a capture override file which can be animated.
PRM_API extern const PRM_Type PRM_CAPTFILE;
// A string that points to a ramp file. (LEGACY)
PRM_API extern const PRM_Type PRM_RAMPFILE_E;
// A string that points to a ramp file which can be animated. (LEGACY)
PRM_API extern const PRM_Type PRM_RAMPFILE;
// A string that points to a clip (channel) file.
PRM_API extern const PRM_Type PRM_CLIPFILE_E;
// A string that points to a clip (channel) file which can be animated.
PRM_API extern const PRM_Type PRM_CLIPFILE;
// A string that points to an image or ramp file.
PRM_API extern const PRM_Type PRM_PAINTFILE_E;
// A string that points to an image or ramp file which can be animated.
PRM_API extern const PRM_Type PRM_PAINTFILE;
// A string that points to a LUT file.
PRM_API extern const PRM_Type PRM_LUTFILE_E;
// A string that points to a LUT file which can be animated.
PRM_API extern const PRM_Type PRM_LUTFILE;
// A string that points to a script file.
PRM_API extern const PRM_Type PRM_CMDFILE_E;
// A string that points to a script file which can be animated.
PRM_API extern const PRM_Type PRM_CMDFILE;
// A string that points to a MIDI file.
PRM_API extern const PRM_Type PRM_MIDIFILE_E;
// A string that points to a MIDI file which can be animated.
PRM_API extern const PRM_Type PRM_MIDIFILE;
// A string that points to a text file.
PRM_API extern const PRM_Type PRM_TXTFILE_E;
// A string that points to a text file which can be animated.
PRM_API extern const PRM_Type PRM_TXTFILE;
// A string that points to an i3d file.
PRM_API extern const PRM_Type PRM_I3DFILE_E;
// A string that points to an i3d file which can be animated.
PRM_API extern const PRM_Type PRM_I3DFILE;
// A string that points to a channel file file.
PRM_API extern const PRM_Type PRM_CHANFILE_E;
// A string that points to a channel file file which can be animated.
PRM_API extern const PRM_Type PRM_CHANFILE;
// A string that points to a simulation file.
PRM_API extern const PRM_Type PRM_SIMFILE_E;
// A string that points to a simulation file which can be animated.
PRM_API extern const PRM_Type PRM_SIMFILE;
// A string that points to an icon file.
PRM_API extern const PRM_Type PRM_ICONFILE_E;
// A string that points to an icon file which can be animated.
PRM_API extern const PRM_Type PRM_ICONFILE;
// A string that points to a siulation data file.
PRM_API extern const PRM_Type PRM_SIMDATAFILE_E;
// A string that points to a siulation data file which can be animated.
PRM_API extern const PRM_Type PRM_SIMDATAFILE;
// A string that points to a directory.
PRM_API extern const PRM_Type PRM_DIRECTORY_E;
// A string that points to a directory which can be animated.
PRM_API extern const PRM_Type PRM_DIRECTORY;
// A non-animatable string parameter.
PRM_API extern const PRM_Type PRM_STRING_E;
// An animatable string parameter.
PRM_API extern const PRM_Type PRM_STRING;
// An alphanumeric string (for node, variable, or group names)
PRM_API extern const PRM_Type PRM_ALPHASTRING;
// A string containing a list of operator paths.
PRM_API extern const PRM_Type PRM_STRING_OPLIST;
// A string containing the name of a single operator.
PRM_API extern const PRM_Type PRM_STRING_OPREF;
// A string containing the name of a single operator that is our child.
PRM_API extern const PRM_Type PRM_STRING_OPREF_CHILD;
// A data parameter.
PRM_API extern const PRM_Type PRM_DATA;
// A non-animatable ordinal type.
PRM_API extern const PRM_Type PRM_ORD_E;
// An ordinal type which can be animated.
PRM_API extern const PRM_Type PRM_ORD;
PRM_API extern const PRM_Type PRM_ORD_J;
// An animatable float with a polar UI.
PRM_API extern const PRM_Type PRM_POLAR;
// A non-animatable float with an angle UI.
PRM_API extern const PRM_Type PRM_ANGLE_E;
// An animatable float with an angle UI.
PRM_API extern const PRM_Type PRM_ANGLE;
PRM_API extern const PRM_Type PRM_ANGLE_J;
// A non-animatable float triple with angle UI and xyz channel names.
PRM_API extern const PRM_Type PRM_ANGLEXYZ_E;
// An animatable float triple with angle UI and xyz channel names.
PRM_API extern const PRM_Type PRM_ANGLEXYZ;
PRM_API extern const PRM_Type PRM_ANGLEXYZ_J;
// A non-animatable float pair with angle UI and min/max channel names.
PRM_API extern const PRM_Type PRM_ANGLE_MINMAX_E;
// An animatable float pair with angle UI and min/max channel names.
PRM_API extern const PRM_Type PRM_ANGLE_MINMAX;
PRM_API extern const PRM_Type PRM_ANGLE_MINMAX_J;
// An animatable float with a polar jack UI.
PRM_API extern const PRM_Type PRM_POLARJACK;
// An animatable int with up/down arrow buttons instead of a slider 
PRM_API extern const PRM_Type PRM_INT_SPINNER;
// An animatable float with up/down arrow buttons instead of a slider
PRM_API extern const PRM_Type PRM_SPINNER;

// An animatable float with a range UI.
PRM_API extern const PRM_Type PRM_RANGE;
// An animatable float with a hue circle UI.
PRM_API extern const PRM_Type PRM_HUECIRCLE;
// An animatable float with a palette UI.
PRM_API extern const PRM_Type PRM_PALETTE;
// An animatable float with a grey range UI.
PRM_API extern const PRM_Type PRM_GREYRANGE;
// An animatable float with polar UI and xyz channel names.
PRM_API extern const PRM_Type PRM_DIRECTION;
// Like PRM_DIRECTION, but not animatable.
PRM_API extern const PRM_Type PRM_DIRECTION_E;
PRM_API extern const PRM_Type PRM_DIRECTION_NOJ;
// A button which triggers a callback.
PRM_API extern const PRM_Type PRM_CALLBACK;
// A button which triggers a callback but does not recook the node,
//   create undos, nor cause the hip file to be modified.
PRM_API extern const PRM_Type PRM_CALLBACK_NOREFRESH;
// An ordinal parameter for masking R/G/B/A image channels.
PRM_API extern const PRM_Type PRM_RGBAMASK;
// A text buttonstrip for doing general masking up to 32 bits (using a menu)
PRM_API extern const PRM_Type PRM_BUTTONSTRIP;
// An icon buttonstrip for doing general masking up to 32 bits (using a menu)
PRM_API extern const PRM_Type PRM_ICONSTRIP;
// An animatable float pair with min/max channel names for the R component.
PRM_API extern const PRM_Type PRM_MINMAX_R;
// An animatable float pair with min/max channel names for the G component.
PRM_API extern const PRM_Type PRM_MINMAX_G;
// An animatable float pair with min/max channel names for the B component.
PRM_API extern const PRM_Type PRM_MINMAX_B;
// An animatable float pair with min/max channel names for the A component.
PRM_API extern const PRM_Type PRM_MINMAX_A;
// An animatable float pair with min/max channel names for all RGBA components.
PRM_API extern const PRM_Type PRM_MINMAX_RGBA;
// A label (for dialog appearance only).
PRM_API extern const PRM_Type PRM_LABEL;
// A separator (for dialog appearance only).
PRM_API extern const PRM_Type PRM_SEPARATOR;
// A geometry data object.
PRM_API extern const PRM_Type PRM_GEOMETRY;
// A key-value dictionary (keys are strings, values are strings).
PRM_API extern const PRM_Type PRM_KEY_VALUE_DICT;
// A Geometry Delta.
PRM_API extern const PRM_Type PRM_GEODELTA;
// A combination label and separator.
PRM_API extern const PRM_Type PRM_HEADING;
// A checkbox parameter joined to the next parameter.
PRM_API extern const PRM_Type PRM_JOINED_TOGGLE;

// explaining PRM_SWITCHER:
//     This is for switcher groups in PSI. The size and name of each group 
//     is in the defaults list. the parameters which follow will be used
//     to make the switcher groups.
//
// eg:
//  PRM_Default d[] =
//  {
//      PRM_Default(3, "label 1"),  
//      PRM_Default(1, "label 2")
//  };
//
//  PRM_Template t[] =
//  {
//                  // 2 means there will be two groups
//      PRM_Template(PRM_SWITCHER, 2, &somename, d),    
//      PRM_Template(PRM_XYZ, 1, &somename),    // These three will
//      PRM_Template(PRM_XYZ, 1, &somename),    // be in the first 
//      PRM_Template(PRM_XYZ, 1, &somename),    // group named "label 1"
//
//      PRM_Template(PRM_XYZ, 1, &somename),    // This will be
//                  // in the second group named "label 2"
//
//      PRM_Template(PRM_XYZ, 1, &somename),    
//              // and this is outside the switcher
//  };




// PRM_SWITCHER     int, named 123, ( see example above )
// PRM_FLT_E        float, named 123
// PRM_FLT      float, named 123, jive-menu
// PRM_XYZ_E        float, named xyz
// PRM_XYZ      float, named xyz, jive-menu
// PRM_UVW_E        float, named uvw
// PRM_UVW      float, named uvw, jive-menu
// PRM_DIR      float, namex xyz, jive-menu, polarjack
// PRM_BEGINEND_E   float, named begin/end
// PRM_BEGINEND     float, named begin/end, jive-menu
// PRM_ANGLE        float, named begin/end, jive-menu, anglejacks
// PRM_INT_E        int, named 123
// PRM_INT      int, named 123, jive-menu
// PRM_INT_XYZ_E    int, named xyz
// PRM_INT_XYZ      int, named xyz, jive-menu
// PRM_FLT_MINMAX   float, named min/max, jive-menu
// PRM_INT_MINMAX   int, named min/max, jive-menu
// PRM_TOGGLE       ord, toggle
// PRM_ORD      ord
// PRM_CALLBACK     ord, callback (either a button or a menu)
// PRM_STRING       string
// PRM_FILE     string, file-prompter
// Feel free to | these three:
// PRM_PICFILE      string, file-prompter with a pic filter 
// PRM_GEOFILE      string, file-prompter with a geo filter
// PRM_RAMPFILE     string, file-prompter with a ramp filter (LEGACY)
// PRM_DATA     data

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 213,417评论 6 492
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,921评论 3 387
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 158,850评论 0 349
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,945评论 1 285
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 66,069评论 6 385
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 50,188评论 1 291
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,239评论 3 412
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,994评论 0 268
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,409评论 1 304
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,735评论 2 327
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,898评论 1 341
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,578评论 4 336
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,205评论 3 317
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,916评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,156评论 1 267
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,722评论 2 363
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,781评论 2 351