Houdini 18.5 Expression functions 参考自用


Houdini 18.5  Expression functions 表达式函数 使用于节点中如transfrom 
    abs    
    Returns the absolute value of the argument.    返回参数的绝对值。
    abspath    
    Returns the full path of a file.    返回文件的完整路径。
    acos    
    Returns the arc-cosine of the argument.    返回参数的反余弦值。
    angvel    
    Returns the angular velocity required to rotate an object from one orientation to another in a certain period of time.    返回在一定时间内将对象从一个方向旋转到另一个方向所需的角速度。
    arclen    
    Returns the arc length of a curve between two U positions.    返回两个U位置之间曲线的弧长。
    arclenD    
    Returns the arc length of a curve between two U positions and number of divisions.    返回两个U位置之间曲线的弧长和分段数。
    arg    
    Returns an argument from a list of HScript-style arguments.    从HScript样式的参数列表中返回一个参数。
    argc    
    Returns the number of arguments in an HScript-style list of arguments.    返回HScript样式的参数列表中的参数个数。
三角函数    asin    
    Returns the arc-sine of the argument.    返回参数的反正弦值。
    atan    
    Returns the arc-tangent of the argument.    返回参数的反正切值。
    atan2    
    Returns the arc-tangent of y/x.    返回y/x的反正切值。
    atof    
    Converts a string to a float.    将字符串转换为浮点型。
    attriblist    
    Returns a space-separated list of attribute names.    返回以空格分隔的属性名称列表。
    bbox    
    Returns bounding box information for a surface node.    返回表面节点的边界框信息。
    bezier    
    Channel segment function: Bezier interpoloation spline    通道分段函数:贝塞尔插值样条
    bitand    
    Combines two numbers with bitwise-and.    用按位and将两个数字合并。
    bitor    
    Combines two numbers with bitwise-or.    用按位“或”运算合并两个数。
    bitset    
    Sets or clears a bit in a number.    设置或清除数字中的某个位。
    bittest    
    Returns if a given bit is set.    如果给定的位被置位,则返回。
    bitxor    
    Combines two numbers with bitwise-xor.    对两个数进行按位异或运算。
    boneangle    
    Returns the angle at the joint between two bone objects.    返回两个骨骼对象之间关节处的角度。
    ceil    
    Returns the smallest integer not less than the value passed in.    返回不小于传入值的最小整数。
    centroid    
    Returns centroid information for a surface node.    返回曲面节点的质心信息。
    ch    
    Returns the value of a parameter.    返回参数的值。
    chexist    
    Returns 1 if the specified channel exists, 0 if it doesn’t.    如果指定的通道存在,则返回1;如果不存在,则返回0。
    chexpr    
    Evaluates a channel with a new segment expression.    用新的段表达式计算通道。
    chexprf    
    Evaluates a channel with a new segment expression at a given frame.    在给定帧用新的分段表达式计算通道。
    chexprt    
    Evaluates a channel with a new segment expression at a given time.    在给定时间用新的段表达式计算通道。
    chf    
    Evaluates a parameter at a given frame.    在给定帧计算参数。
    chgroup    
    return a string containing all of the channels contained in a group.    返回一个包含组中所有频道的字符串。
    chop    
    Evaluates a channel within a CHOP at the current time.    评估当前时间通道内的通道。
    chopcf    
    Evaluates a channel within a CHOP at a given time.    在给定时间评估通道内的通道。
    chopci    
    Evaluates a channel within a CHOP at a specified sample point.    在指定采样点评估通道内的通道。
    chopct    
    Evaluates a channel within a CHOP at a specified time.    在指定时间评估通道内的通道。
    chope    
    Returns the end index of the channels in a CHOP.    返回CHOP中通道的结束索引。
    chopf    
    Evaluates a channel within a CHOP with at a given frame.    在给定帧处评估通道内的通道。
    chopi    
    Evaluates a channel within a CHOP at a given sample point.    在给定采样点评估通道内的通道。
    chopl    
    Returns the length of the channels in a CHOP, in samples.    返回通道中通道的长度,以样本为单位。
    chopn    
    Returns the number of data channels within a CHOP.    返回CHOP中数据通道的数量。
    chopnames    
    Returns the names of all the data channels within a CHOP.    返回CHOP中所有数据通道的名称。
    chopr    
    Returns the sample rate of a CHOP.    返回通道的采样速率。
    chops    
    Returns the start index of a CHOP.    返回CHOP的开始索引。
    chopstr    
    Returns the string value of a channel within a CHOP at the current time.    返回当前时刻CHOP中通道的字符串值。
    chopt    
    Returns the value of a channel within a CHOP at a specified time.    返回指定时间通道内通道的值。
    chramp    
    Returns the value of a ramp parameter at a specific position.    返回特定位置的渐变参数值。
    chrampf    
    Returns the value of a ramp parameter at a specific position and frame.    返回特定位置和帧的渐变参数值。
    chrampt    
    Returns the value of a ramp parameter at a specific position and time.    返回特定位置和时间的渐变参数值。
    chs    
    Evaluates the string value of a parameter at the current time.    在当前时间计算参数的字符串值。
    chsop    
    Evaluates the parameter at the current time as a node path string.    将当前时间的参数计算为节点路径字符串。
    chsoplist    
    Evaluates the parameter at the current time as a node path list string.    将当前时间的参数计算为节点路径列表字符串。
    chsraw    
    Returns the raw (unexpanded) expression value of a parameter as a string.    以字符串形式返回参数的原始(未展开)表达式值。
    cht    
    Returns the value of a parameter at a specified time.    返回参数在指定时间的值。
    clamp    
    Returns a value clamped between a minimum and maximum.    返回一个介于最小值和最大值之间的值。
    clamptosphere    
    Clamps a vector to always end between a minimum and maximum sphere.    将向量钳制为始终在最小和最大球体之间结束。
    constant    
    Channel segment function: constant value.    通道段函数:常量值。
    contextoption    
    Returns the value of context option as a floating point value.    以浮点值的形式返回上下文选项的值。
    contextoptions    
    Returns a cook context option as a string value.    以字符串值的形式返回烹饪上下文选项。
    cophasmeta    
    Tests if metadata exists on a compositing node.    测试元数据是否存在于合成节点上。
    copmeta    
    Returns numeric metadata from a compositing node.    从合成节点返回数字元数据。
    copmeta    
    Returns string metadata from a compositing node.    从合成节点返回字符串元数据。
    cos    
    Returns the cosine of the argument.    返回参数的余弦值。
    cosh    
    Returns the hyperbolic cosine of the argument.    返回参数的双曲余弦值。
    cross    
    Computes the cross-product of two vectors.    计算两个向量的叉积。
    cubic    
    Channel segment function: cubic spline.    通道段函数:三次样条。
    cucwc    
    Deprecated: current working container for custom panels.    已弃用:自定义面板的当前工作容器。
    cudatatype    
    Deprecated: data type of a gadget, for custom panels.    已弃用:小工具的数据类型,用于自定义面板。
    cumenuadd    
    Deprecated: adds a menu entry on a custom panel.    已弃用:在自定义面板上添加菜单项。
    cuquery    
    Deprecated: returns a value from a custom panel.    已弃用:从自定义面板返回值。
    curvature    
    Returns the curvature of the surface at the given UV coordinates.    返回给定UV坐标处的曲面曲率。
    cutype    
    Deprecated: Returns the type of a gadget on a custom panel.    已弃用:返回自定义面板上小工具的类型。
    cycle    
    Channel segment function: repeats animation from previous frames.    通道分段功能:从先前的帧重复动画。
    cycleoffset    
    Channel segment function: repeats the animation between frames f1 and f2, accumulating the value.    通道分段功能:在帧f1和f2之间重复动画,累积值。
    cycleoffsett    
    Channel segment function: repeats the animation between times t1 and t2, accumulating the value.    通道分段功能:在时间t1和t2之间重复动画,累积值。
    cyclet    
    Channel segment function: repeats animation from previous frames.    通道分段功能:从先前的帧重复动画。
    decode    
    Decodes a variable name that was previously encoded.    对先前编码的变量名进行解码。
    decodeattrib    
    Decodes a geometry attribute name that was previously encoded.    解码先前编码的几何属性名称。
    decodeparm    
    Decodes a node parameter name that was previously encoded.    解码先前编码的节点参数名称。
    deg    
    Converts from radians to degrees.    从弧度转换为角度。
    degree    
    Returns the degree a specified face or hull.    返回指定面或外壳的度数。
    detail    
    Returns the value of a detail attribute.    返回细节属性的值。
    detailattriblist    
    Returns a space-separated list of detail attribute names.    返回以空格分隔的详细属性名称列表。
    detailattribsize    
    Returns the number of components in a detail attribute.    返回详细信息属性中组件的数量。
    detailattribtype    
    Returns the type of a detail attribute.    返回细节属性的类型。
    details    
    Returns the string value of a detail attribute.    返回详细信息属性的字符串值。
    detailsmap    
    Returns a string from a list of strings in a detail attribute.    从细节属性的字符串列表中返回一个字符串。
    detailsnummap    
    Returns the number of unique strings bound to a detail attribute.    返回绑定到详细信息属性的唯一字符串的数量。
    determinant    
    Returns the determinant of a matrix.    返回矩阵的行列式。
    dihedral    
    Computes the dihedral matrix between vectors v0 and v1.    计算向量v0和v1之间的二面角矩阵。
    distance    
    Returns the distance between two 3D points.    返回两个3D点之间的距离。
动力学节点    dopallfields    
    Returns a space separated list of all the field names that can be passed to the dopfield function.    返回可以传递给dopfield函数的所有字段名的以空格分隔的列表。
    dopcontextgeo    
    Returns the full path of the node connected to a dopnetwork.    返回连接到dopnetwork的节点的完整路径。
    dopcountslices    
    Returns the number of records of a given type in a piece of dynamics data.    返回一条动力学数据中给定类型的记录数。
    dopfield    
    Returns the value of a field as a float.    以浮点形式返回字段的值。
    dopfieldname    
    Returns the name of a DOP field.    返回DOP字段的名称。
    dopfields    
    Returns the value of a DOP field as a string.    以字符串形式返回DOP字段的值。
    dopfieldtype    
    Returns the type of a DOP field.    返回DOP字段的类型。
    dopframe    
    Returns the current frame of the simulation.    返回模拟的当前帧。
    dopframetost    
    Returns the simulation time equivalent of a simulation frame.    返回模拟帧的模拟时间当量。
    dopgrouphasobject    
    Returns 1 if a specified DOP group contains a specified object.    如果指定的DOP组包含指定的对象,则返回1。
    dopgroupismutual    
    Returns 1 if a specified DOP group is mutually affecting.    如果指定的DOP组相互影响,则返回1。
    dopgrouplist    
    returns a string containing a list of all object groups for the current time in a specified DOP Network.    返回一个字符串,该字符串包含指定DOP网络中当前时间的所有对象组列表。
    dophasfield    
    Returns 1 if a specified DOP field exists.    如果指定的DOP字段存在,则返回1。
    dophassubdata    
    Returns 1 if a dynamics object has the specified subdata.    如果动力学对象具有指定的子数据,则返回1。
    dopnodeobjs    
    Returns the list of objects processed by a DOP in the latest timestep.    返回DOP在最新时间步中处理的对象列表。
    dopnumfields    
    Returns the number of fields in a DOP record type.    返回DOP记录类型中的字段数。
    dopnumobjects    
    returns the number of objects in a simulation.    返回模拟中对象的数量。
    dopnumrecords    
    Returns the number of records of a given type in a piece of dynamics data.    返回一条动力学数据中给定类型的记录数。
    dopnumrecordtypes    
    Returns the number of types of record in a piece of dynamics data.    返回一条动态数据中记录类型的数量。
    dopnumsubdata    
    Returns the number of subdata items attached to an object or data.    返回附加到对象或数据的子数据项的数量。
    dopobjectlist    
    Returns all objects matching the an object specification.    返回与对象规范匹配的所有对象。
    dopobjectsareaffectors    
    Tests whether a set of objects has an affector relationship with another object.    测试一组对象是否与另一个对象有影响者关系。
    dopobjscreatedby    
    Returns the list of objects created by a particular DOP node.    返回由特定DOP节点创建的对象列表。
    dopoption    
    Returns the value of a DOP field as a float.    以浮点形式返回DOP字段的值。
    dopoptions    
    Returns the value of a DOP field as a string.    以字符串形式返回DOP字段的值。
    doprecordtypename    
    Returns the name of a record in DOPs data given its index.    在给定索引的情况下,返回DOPs数据中记录的名称。
    dopsolvedopnet    
    Script solver support function.    脚本求解支持函数。
    dopsolvenewobject    
    Script solver support function.    脚本求解支持函数。
    dopsolvenumnewobjects    
    Script solver support function.    脚本求解支持函数。
    dopsolvenumobjects    
    Script solver support function.    脚本求解支持函数。
    dopsolveobject    
    Script solver support function.    脚本求解支持函数。
    dopsolvetimestep    
    Script solver support function.    脚本求解支持函数。
    dopsttoframe    
    returns the simulation frame of a given simulation time.    返回给定模拟时间的模拟帧。
    dopsttot    
    Returns the global time of a given simulation time.    返回给定模拟时间的全局时间。
    dopsubdataname    
    Returns the name of a subdata of a given DOP object.    返回给定DOP对象的子数据的名称。
    doptime    
    Returns the current time of a simulation.    返回模拟的当前时间。
    doptransform    
    Returns a transformation matrix associated with a piece of data.    返回与一段数据相关联的变换矩阵。
    dopttost    
    Returns the simulation time equivalent to a given global time.    返回相当于给定全局时间的模拟时间。
    dopvelatpos    
    Returns the velocity that a point at a location in simulation space would have if it were attached to a DOP object.    返回模拟空间中某个位置的点在附加到DOP对象时的速度。
    dot    
    Computes the dot product of two vectors.    计算两个向量的点积。
    ease    
    Channel segment function: ease-in and -out.    通道段功能:缓进缓出。
    easein    
    Channel segment function: ease-in.    频道片段功能:渐强。
    easeinp    
    Channel segment function: ease-in with configurable acceleration.    通道段功能:可配置加速的缓入。
    easeout    
    Channel segment function: ease-out    通道段功能:放松
    easeoutp    
    Channel segment function: ease-out with configurable acceleration.    通道段功能:可配置加速的放松。
    easep    
    Channel segment function: ease-in and -out with configurable acceleration.    通道段功能:可配置加速的缓入缓出。
    edgegrouplist    
    Returns the list of edge groups in a surface node.    返回曲面节点中的边组列表。
    edgegroupmask    
    Returns the list of edge groups matching a pattern in a surface node.    返回与曲面节点中的模式匹配的边组列表。
    encode    
    Encodes any string into a valid variable name.    将任何字符串编码为有效的变量名。
    encodeattrib    
    Encodes any string into a valid geometry attribute name.    将任何字符串编码为有效的几何属性名称。
    encodeparm    
    Encodes any string into a valid node parameter name.    将任何字符串编码为有效的节点参数名。
    eval    
    Evaulates a string as an expression returning a float.    将字符串作为返回浮点数的表达式进行求值。
    evals    
    Evaulates a string as an expression returning a string.    将字符串计算为返回字符串的表达式。
    execute    
    Runs a string as an HScript command and returns the command’s output.    将字符串作为HScript命令运行并返回命令的输出。
    executeb    
    Runs a string as an HScript command and returns the command and error output.    将字符串作为HScript命令运行,并返回命令和错误输出。
    executee    
    Runs a string as an HScript command and returns any error output.    将字符串作为HScript命令运行并返回任何错误输出。
    exp    
    Returns the logarithmic exponentiation of the argument.    返回参数的对数取幂。
    explodematrix    
    Explodes a 3×3 or 4×4 matrix into the euler rotations required to rebuild it.    将一个3×3或4×4矩阵分解成重新构建它所需的欧拉旋转。
    explodematrixp    
    Explodes a 3×3 or 4×4 matrix into the euler rotations required to rebuild it.    将一个3×3或4×4矩阵分解成重新构建它所需的欧拉旋转。
    explodematrixpr    
    Explodes a 3×3 or 4×4 matrix into the euler rotations required to rebuild it.    将一个3×3或4×4矩阵分解成重新构建它所需的欧拉旋转。
    findfile    
    Searches the Houdini path for a file.    在胡迪尼路径中搜索文件。
    findfiles    
    Searches the Houdini path for a file or directory.    在Houdini路径中搜索文件或目录。
    fit    
    Fits a value from one range to another.    将值从一个范围拟合到另一个范围。
    fit01    
    Fits a value to the 0-1 range.    将值调整到0-1的范围内。
    fit10    
    Fits a number in the 0-1 range.    适合0-1范围内的数字。
    fit11    
    Fits a number to the -1 to 1 range.    将数字拟合到-1到1的范围内。
    floor    
    Returns the largest integer not greater than a number.    返回不大于一个数字的最大整数。
    frac    
    Returns the fractional part of a floating-point number.    返回浮点数的小数部分。
    ftoa    
    Converts a number to a string.    将数字转换为字符串。
    ftrim    
    Converts a number to a string.    将数字转换为字符串。
    groupbyval    
    Returns a string describing the set of elements with a given value for an integer attribute.    返回一个字符串,该字符串描述具有整数属性的给定值的元素集。
    groupbyvals    
    Returns a string describing the set of elements with a given value for a string attribute.    返回一个字符串,该字符串描述具有字符串属性给定值的元素集。
    hascontextoption    
    Returns a non-zero value if the specified context option exists.    如果指定的上下文选项存在,则返回非零值。
    hasdetailattrib    
    Returns 1 if a specified detail attribute exists.    如果指定的细节属性存在,则返回1。
    haspdgattrib    
    Returns 1 if the active PDG work item has the specified attribute.    如果活动PDG工作项具有指定的属性,则返回1。
    haspoint    
    Returns 1 if a specified point is in a specified group.    如果指定点在指定组中,则返回1。
    haspointattrib    
    Returns 1 if a specified point attribute exists.    如果指定的点属性存在,则返回1。
    hasprim    
    Returns 1 if a specified primitive is in a specified group.    如果指定的基元在指定的组中,则返回1。
    hasprimattrib    
    Returns 1 if a specified primitive attribute exists.    如果指定的原始属性存在,则返回1。
    hasvertexattrib    
    Returns 1 if a specified vertex attribute exists.    如果指定的顶点属性存在,则返回1。
    hextoint    
    Converts a hexadecimal argument string into an integer.    将十六进制参数字符串转换为整数。
    hsv    
    Converts RGB values to HSV components.    将RGB值转换为HSV分量。
    ic    
    Evaluates a CHOP’s input channel at a specific index.    在特定索引处评估通道的输入通道。
    ice    
    Returns the end index of a CHOP’s input.    返回CHOP输入的结束索引。
    icl    
    Returns the length of a CHOP’s input, in samples.    返回通道输入的长度,以样本为单位。
    icmax    
    Evaluates a CHOP’s input channel’s maximum value.    评估通道输入通道的最大值。
    icmin    
    Evaluates a CHOP’s input channel’s minimum value.    评估通道输入通道的最小值。
    icn    
    Returns the number of channels in a CHOP’s input.    返回通道输入中的通道数。
    icr    
    Returns the sample rate of a CHOP’s input.    返回通道输入的采样率。
    ics    
    Returns the start index of a CHOP’s input.    返回通道输入的起始索引。
    identity    
    Creates an identity matrix.    创建单位矩阵。
    if    
    Returns the value of the second or third argument depending on the truth of the first argument.    根据第一个参数的真实性返回第二个或第三个参数的值。
    ifs    
    Returns the string value of the second or third argument depending on the truth of the first argument.    根据第一个参数的真实性返回第二个或第三个参数的字符串值。
    index    
    Finds the first occurrence of a pattern in a string.    在字符串中查找模式的第一个匹配项。
    instancepoint    
    Returns the point number currently being instanced onto.    返回当前正在引用的点编号。
    int    
    Converts a number to an integer by truncating any fractional part.    通过截断任何小数部分将数字转换为整数。
    inttohex    
    Converts a number into a hexadecimal string.    将数字转换为十六进制字符串。
    invert    
    Inverts a matrix.    反转矩阵。
    iprquery    
    Queries numeric (floating point) data from an interactive render pane.    从交互式渲染窗格中查询数字(浮点)数据。
    iprquerys    
    Queries textual (string) data from an interactive render pane.    从交互式渲染窗格中查询文本(字符串)数据。
    isclosed    
    Returns 1 if a primitive is closed.    如果原语是封闭的,则返回1。
    iscollided    
    Returns 1 if a specified point has collided with something.    如果指定点与某物发生碰撞,则返回1。
    ishvariable    
    Returns 1 if a specified Houdini environment variable exists.    如果指定的Houdini环境变量存在,则返回1。
    isspline    
    Returns 1 if a specified primitive is a NURBs or Bezier curve or surface.    如果指定的基本体是NURBs或贝塞尔曲线或曲面,则返回1。
    isstuck    
    Returns 1 if a specified point is a stuck particle.    如果指定点是固定粒子,则返回1。
    isvariable    
    Returns 1 if a specified Houdini or system environment variable exists.    如果指定的Houdini或系统环境变量存在,则返回1。
    iswrapu    
    Returns 1 if a specified primitive is wrapped in U.    如果指定的原语被包装在u中,则返回1。
    iswrapv    
    Returns 1 if a specified primitive is wrapped in V.    如果指定的原语包装在v中,则返回1。
    length    
    Returns the length of a vector.    返回向量的长度。
    linear    
    Channel segment function: linear interpolation.    通道分段功能:线性插值。
    listbyval    
    Returns a list of elements with a given value for an integer attribute.    返回具有整数属性值的元素列表。
    listbyvals    
    Returns a list of elements with a given value for a string attribute.    返回具有字符串属性值的元素列表。
    lock    
    Returns a value that cannot be changed.    返回一个无法更改的值。
    log    
    Returns the natural logarithm of the argument.    返回参数的自然对数。
    log10    
    Returns the base 10 logarithm of the argument.    返回参数以10为底的对数。
    lopinputprim    
    Returns the path of the USD primitive last modified by an input to a LOP node.    返回由LOP节点的输入最后修改的USD原语的路径。
    lopinputprims    
    Returns the paths of the USD primitives last modified by an input to a LOP node.    返回由LOP节点的输入最后修改的USD原语的路径。
    loplastmodifiedprim    
    Returns the path of the USD primitive last modified by a LOP node.    返回LOP节点最后修改的USD原语的路径。
    loplastmodifiedprims    
    Returns the paths of the USD primitives last modified by a LOP node.    返回LOP节点最后修改的USD原语的路径。
    lopparentprims    
    Returns the paths of the parents of the supplied list of USD primitives.    返回所提供的USD原语列表的父级路径。
    loprelativeprims    
    Returns the paths at a particular location relative to the supplied list of USD primitives.    返回相对于所提供的USD原语列表的特定位置的路径。
    match    
    Channel segment function: matches the incoming and outgoing slopes.    通道段功能:匹配流入和流出斜率。
    matchin    
    Channel segment function: matches the incoming slope.    通道区段功能:匹配输入斜率。
    matchout    
    Channel segment function: matches the outgoing slope.    通道段功能:匹配流出斜率。
    matrix    
    Converts a string specification into a matrix.    将字符串规格转换为矩阵。
    matrixtoquat    
    Converts a rotation matrix to a quaternion.    将旋转矩阵转换为四元数。
    max    
    Returns the larger of two values.    返回两个值中较大的一个。
    mcols    
    Returns the number of columns in a matrix.    返回矩阵中的列数。
    metaweight    
    Returns the weight of a metaball at a specific location.    返回特定位置元球的重量。
    min    
    Returns the smaller of two values.    返回两个值中较小的一个。
    mindist    
    Finds the smallest distance between a point and a primitive.    查找点和图元之间的最小距离。
    mlookat    
    Computes the transformation matrix of a lookat from one vector to another.    计算注视从一个向量到另一个向量的变换矩阵。
    mlookatup    
    Computes the transformation matrix of a lookat from one vector to another, with an up vector.    使用上方向向量计算从一个向量到另一个向量的注视变换矩阵。
    mobjlookat    
    Computes the transformation matrix of a lookat from one object to another.    计算从一个对象到另一个对象的注视变换矩阵。
    modblend    
    Blends the two modular values.    混合两个模数值。
    morient    
    Computes the transformation matrix to orient along specific Z and Y axes.    计算变换矩阵以沿特定的Z轴和Y轴定向。
    mousepane    
    Returns the full name of the pane currently under the mouse pointer.    返回当前在鼠标指针下的窗格的全名。
    mousepath    
    Returns the node path of the pane currently under the mouse pointer.    返回当前鼠标指针下窗格的节点路径。
    mrows    
    Returns the number of rows in a matrix.    返回矩阵中的行数。
    mzero    
    Returns a matrix with all values set to 0.    返回所有值都设置为0的矩阵。
    nearpoint    
    Finds the point in a geometry nearest to specific 3D coordinates.    在几何图形中查找离特定三维坐标最近的点。
    noise    
    Generates 3D noise.    产生3D噪声。
    normal    
    Returns the components of the surface normal specific UV coordinates.    返回曲面法线特定UV坐标的分量。
    normalize    
    Normalizes a vector.    标准化向量。
    npoints    
    Returns the number of points in a geometry.    返回几何图形中的点数。
    npointsgroup    
    Returns the number of points in the specified group.    返回指定组中的点数。
    nprims    
    Returns the number of primitives in a surface node.    返回表面节点中图元的数量。
    nprimsgroup    
    Returns the number of primitives in the specified group.    返回指定组中基元的数量。
    nuniquevals    
    Returns the number of unique values for an integer or string attribute in a surface node.    返回表面节点中整数或字符串属性的唯一值的数量。
    objkinoverride    
    Returns the current global kinematic override setting for bone objects.    返回骨骼对象的当前全局运动学覆盖设置。
    objlightmask    
    Returns a list of lights matching an object’s light mask.    返回与对象的灯光遮罩匹配的灯光列表。
    objlookat    
    Computes the rotation vector of a lookat from one object to another.    计算从一个对象到另一个对象的注视旋转向量。
    objpretransform    
    Returns an object’s pre-transform matrix.    返回对象的变换前矩阵。
    oc    
    Returns the value of a CHOP’s output at a specific sample index.    返回特定样本索引处通道输出的值。
    ocldeviceinfo    
    Queries the current OpenCL device with the provided flag    使用提供的标志查询当前OpenCL设备
    oldrand    
    Returns a pseudo-random number between 0 and 1.    返回一个介于0和1之间的伪随机数。
    opblist    
    Returns the full paths of all operators in a bundle.    返回一个包中所有运算符的完整路径。
    opcreator    
    Returns the creator of this node.    返回此节点的创建者。
    opdigits    
    Returns the numeric suffix of a node name.    返回节点名的数字后缀。
    opexist    
    Returns 1 if the specified node, group, or bundle exists.    如果指定的节点、组或包存在,则返回1。
    opflag    
    Returns a list nodes with a particular flag set.    返回设置了特定标志的节点列表。
    opfullpath    
    Returns the full path of a node.    返回节点的完整路径。
    opfullpathfrom    
    Returns the path of a node relative to another node.    返回一个节点相对于另一个节点的路径。
    opid    
    Returns the unique ID of a node.    返回节点的唯一ID。
    opinput    
    Returns the name of the node connected to a given input.    返回连接到给定输入的节点的名称。
    opinputpath    
    Returns the full path of the node connected to a given input.    返回连接到给定输入的节点的完整路径。
    opinputstring    
    Returns the value associated with a key string on node connection.    返回与节点连接上的键字符串关联的值。
    opisloading    
    Returns 1 if Houdini is currently loading a scene file.    如果Houdini当前正在加载场景文件,则返回1。
    opisquitting    
    Returns 1 if Houdini is currently shutting down.    如果Houdini当前正在关闭,则返回1。
    oplightmask    
    Returns a list of lights matching an object’s light mask.    返回与对象的灯光遮罩匹配的灯光列表。
    oplistsort    
    Sorts a list of node paths based on node input/outputs order.    根据节点输入/输出顺序对节点路径列表进行排序。
    opname    
    Returns the name of a node given its path.    根据给定的路径返回节点的名称。
    opnchildren    
    Returns the number of nodes inside a container node.    返回容器节点中的节点数。
    opninputs    
    Returns the maximum number of connected inputs.    返回连接输入的最大数量。
    opnodigits    
    Returns the alphanumeric prefix of a node name eliminating trailing digits.    返回节点名称的字母数字前缀,去掉尾随数字。
    opnoutputs    
    Returns the number of nodes connected to a node’s output.    返回连接到节点输出的节点数。
    opoutput    
    Returns the name of a node connected a given node’s output.    返回连接到给定节点输出的节点的名称。
    opoutputpath    
    Returns the full path of a node connected a given node’s output.    返回连接到给定节点输出的节点的完整路径。
    oppinput    
    Deprecated: replaced by opinput.    已弃用:由opinput取代。
    oppwd    
    Returns the path of the current network.    返回当前网络的路径。
    oppwf    
    Prints the path of the current network.    打印当前网络的路径。
    oprelativepath    
    Returns the relative path from one node to another.    返回一个节点到另一个节点的相对路径。
    opselect    
    Returns a list of the selected nodes.    返回选定节点的列表。
    opselectpath    
    Returns a list of the full paths of selected nodes.    返回选定节点的完整路径列表。
    opselectrecurse    
    Returns a recursive list of the selected nodes.    返回选定节点的递归列表。
    opselectrecursepath    
    Returns a recursive list of the full paths of selected nodes.    返回所选节点完整路径的递归列表。
    opstreamname    
    Computes the active stream of a node.    计算节点的活动流。
    opsubpath    
    Returns the full path of a node including any containing subnets.    返回节点的完整路径,包括任何包含子网的节点。
    optransform    
    Returns the transformation matrix of an object at the current time.    返回当前时刻对象的变换矩阵。
    optype    
    Returns the type of a node.    返回节点的类型。
    optypeinfo    
    Returns type information about a node.    返回节点的类型信息。
    origin    
    Returns components of an object’s transforms.    返回对象变换的组件。
    originoffset    
    Returns components of an object’s offset transforms.    返回对象偏移变换的组件。
    padzero    
    Returns a string padding a number to a given length with zeros.    返回用零填充一个数字到给定长度的字符串。
    param    
    Deprecated: use stamp instead.    已弃用:请改用stamp。
    parmisstring    
    Returns 1 if a specified parameter is a string.    如果指定的参数是字符串,则返回1。
    pdgattrib    
    Returns the value of a PDG work item attrib    返回PDG工作项属性的值
    pdgattriblist    
    Returns a space-separated list of attribute names on the active PDG work item.    返回活动PDG工作项上以空格分隔的属性名称列表。
    pdgattribs    
    Returns the string value of a PDG work item attribute    返回PDG工作项属性的字符串值
    pdgattribsize    
    Returns the number of components in a PDG work item attribute.    返回PDG工作项属性中组件的数量。
    pdgattribtype    
    Returns the type of a PDG work item attribute.    返回PDG工作项属性的类型。
    pdgattribute    
    Deprecated: replaced by pdgattrib.    已弃用:由pdgattrib取代。
    pdgattributes    
    Deprecated: replaced by pdgattribs.    已弃用:由pdgattribs取代。
    pdgattribvals    
    Returns the space separated list of values for a PDG work item attribute    返回PDG工作项属性的以空格分隔的值列表
    pdginput    
    Returns a work item input file for the specified file index and tag    返回指定文件索引和标记的工作项输入文件
    pdginputsize    
    Returns the number of input files on the active PDG work item    返回活动PDG工作项中输入文件的数量
    pdginputvals    
    Returns a space separated string of all work item input files for the specified tag    返回指定标记的所有工作项输入文件的空格分隔字符串
    pdgoutput    
    Returns a work item output file for the specified file index and tag    返回指定文件索引和标记的工作项输出文件
    pdgoutputsize    
    Returns the number of output files on the active PDG work item    返回活动PDG工作项上输出文件的数量
    pdgoutputvals    
    Returns a space separated string of all work item output files for the specified tag    返回指定标记的所有工作项输出文件的空格分隔字符串
    pic    
    Returns the color of a pixel in a compositing node.    返回合成节点中像素的颜色。
    picni    
    Returns the non-interpolated color of a pixel in a compositing node.    返回合成节点中像素的非插值颜色。
    pluralize    
    Converts an English noun to its plural.    将英语名词转换为复数。
    point    
    Returns the value of a point attribute.    返回点属性的值。
    pointattriblist    
    Returns a space-separated list of point attribute names.    返回以空格分隔的点属性名称列表。
    pointattribsize    
    Returns the number of components in a point attribute.    返回点属性中组件的数量。
    pointattribtype    
    Returns the type of a point attribute.    返回点属性的类型。
    pointavg    
    Returns the average of an attribute across all points in a geometry.    返回几何图形中所有点的属性平均值。
    pointdist    
    Returns the distance between a point and a primitive.    返回点和图元之间的距离。
    pointgrouplist    
    Returns the list of point groups in a surface node.    返回曲面节点中的点组列表。
    pointgroupmask    
    Returns the list of point groups matching a pattern in a surface node.    返回与曲面节点中的模式匹配的点组列表。
    pointlist    
    Returns a list of all points in a point group.    返回点编组中所有点的列表。
    pointneighbours    
    Lists points that share a minimum number of primitives with a specified point.    列出与指定点共享最小数量图元的点。
    pointpattern    
    Returns a list of points that match a specified pattern.    返回与指定模式匹配的点的列表。
    points    
    Returns the string value of a point attribute.    返回点属性的字符串值。
    pointsmap    
    Returns a string from a list of strings in a point attribute.    从点属性的字符串列表中返回一个字符串。
    pointsnummap    
    Returns the number of unique strings bound to a point attribute.    返回绑定到点属性的唯一字符串的数量。
    pow    
    Raises a number to an exponent.    将一个数提升为指数。
    prim    
    Returns the value of a primitive attribute.    返回原始属性的值。
    primattriblist    
    Returns a space-separated list of primitive attribute names.    返回以空格分隔的基本属性名称列表。
    primattribsize    
    Returns the number of components in a primitive attribute.    返回原始属性中组件的数量。
    primattribtype    
    Returns the type of a primitive attribute.    返回原始属性的类型。
    primdist    
    Returns the minimum distance and closest points between two primitives.    返回两个图元之间的最小距离和最近点。
    primduv    
    Returns the partial derivatives of a primitive attribute.    返回原始属性的偏导数。
    primgrouplist    
    Returns the list of primitive groups in a surface node.    返回表面节点中的基本组列表。
    primgroupmask    
    Returns the list of groups matching a pattern in a surface node.    返回与表面节点中的模式匹配的组列表。
    primlist    
    Returns a list of all primitives in a surface node.    返回表面节点中所有图元的列表。
    primneighbours    
    Lists primitives that share a minimum number of points with a specified primitive.    列出与指定图元共享最小点数的图元。
    prims    
    Returns the string value of a primitive attribute.    返回原始属性的字符串值。
    primsmap    
    Returns a string from a list of strings in a primitive attribute.    从原始属性的字符串列表中返回一个字符串。
    primsnummap    
    Returns the number of unique strings bound to a primitive attribute.    返回绑定到基元属性的唯一字符串的数量。
    primuv    
    Returns the value of a primitive attribute at a certain UV location.    返回某个UV位置的基本属性的值。
    print    
    Prints a message to the console.    将消息打印到控制台。
    property    
    Similar to ch(), but for render properties, with a default if the property doesn’t exist.    类似于ch(),但用于渲染属性,如果属性不存在,则使用默认值。
    propertyf    
    Evaluates a render property at a given frame.    计算给定帧处的渲染属性。
    propertys    
    Evaluates the string value of a render property at the current time.    在当前时间计算渲染属性的字符串值。
    propertysop    
    Evaluates a render property at the current time as a node path string.    将当前时间的渲染属性计算为节点路径字符串。
    propertysraw    
    Evaluates the raw (unexpanded) string value of a render property at the current time.    计算当前渲染属性的原始(未展开)字符串值。
    propertyt    
    Evaluates a render property at a given time.    在给定时间计算渲染属性。
    pulse    
    Returns 1 when a value is within a certain range.    当值在某个范围内时,返回1。
    pythonexprf    
    Evaluates a Python expression, returning a float result.    计算Python表达式,返回浮点结果。
    pythonexprs    
    Evaluates a Python expression, returning a string result.    计算Python表达式,返回字符串结果。
    qlinear    
    Channel segment function: uses quaternions to interpolate.    通道分段功能:使用四元数进行插值。
    quattomatrix    
    Converts quaternion to a 3×3 rotation matrix.    将四元数转换为3×3旋转矩阵。
    quintic    
    Channel segment function: smoothly interpolates slopes and accelerations.    通道段功能:平滑插值斜率和加速度。
    rad    
    Converts from degrees to radians.    将度数转换为弧度。
    rand    
    Returns a pseudo-random number from 0 to 1.    返回一个从0到1的伪随机数。
    raw    
    Channel segment function.    通道段功能。
    realuv    
    Converts unit UV to real UV.    将单位UV转换为真实UV。
    relpath    
    Returns the relative path of a file.    返回文件的相对路径。
    repeat    
    Channel segment function: repeats animation from previous frames.    通道分段功能:从先前的帧重复动画。
    repeatt    
    Channel segment function: repeats animation from previous frames.    通道分段功能:从先前的帧重复动画。
    res    
    Returns the natural resolution of the image in a compositing node.    返回合成节点中图像的自然分辨率。
    rgb    
    Converts HSV values to RGB components.    将HSV值转换为RGB分量。
    rindex    
    Finds the last occurrence of a pattern in a string.    在字符串中查找模式的最后一个匹配项。
    rint    
    Rounds to the nearest integer.    舍入到最接近的整数。
    rotate    
    Returns a 4×4 rotation matrix from an axis and angle.    根据轴和角度返回4×4旋转矩阵。
    rotaxis    
    Returns a 4×4 rotation matrix from an angle and a vector.    从一个角度和一个向量返回一个4×4的旋转矩阵。
    round    
    Rounds a number to the nearest integer.    将数字舍入到最接近的整数。
    run    
    Runs a string as an HScript command and returns the command’s output.    将字符串作为HScript命令运行并返回命令的输出。
    runb    
    Runs a string as an HScript command and returns the command and error output.    将字符串作为HScript命令运行,并返回命令和错误输出。
    rune    
    Runs a string as an HScript command and returns any error output.    将字符串作为HScript命令运行并返回任何错误输出。
    scale    
    Takes three scaling values and returns a scale matrix.    获取三个缩放值并返回一个缩放矩阵。
    scalefrommks    
    Returns the scale factor converting from MKS units to the Houdini units.    返回从MKS单位转换到Houdini单位的比例因子。
    scaletomks    
    Returns the scale factor converting to MKS units from the Houdini units.    返回从胡迪尼单位转换为MKS单位的比例因子。
    seampoints    
    Lists all seam points in a surface node.    列出曲面节点中的所有接缝点。
    seqanim    
    Returns 1 if a specified compositing node has an animated sequence.    如果指定的合成节点具有动画序列,则返回1。
    seqend    
    Returns the end frame of a compositing node’s image sequence.    返回合成节点图像序列的结束帧。
    seqlength    
    Returns the number of frames in a compositing node’s image sequence.    返回合成节点图像序列中的帧数。
    seqstart    
    Returns the start frame of a compositing node’s image sequence.    返回合成节点图像序列的开始帧。
    shopstring    
    Returns the shader string generated by a shader.    返回着色器生成的着色器字符串。
    sign    
    Returns -1, 0, or 1 depending on the sign of the argument.    根据参数的符号返回-1、0或1。
    sin    
    Returns the sine of the argument.    返回参数的正弦值。
    sinh    
    Returns the hyperbolic sine of the argument.    返回参数的双曲正弦值。
    smooth    
    Takes a value and range and returns a smooth interpolation between 0 and 1.    获取一个值和范围,并返回0和1之间的平滑插值。
    snoise    
    Generates sparse convolution 3D noise.    生成稀疏卷积3D噪波。
    spknot    
    Returns a knot value on a spline curve or surface.    返回样条曲线或曲面上的节点值。
    spline    
    Channel segment function: fits a curve to the keyframes.    通道分段功能:将曲线与关键帧拟合。
    sqrt    
    Returns the square root of the argument.    返回参数的平方根。
    stamp    
    Returns a copy stamping floating point value.    返回一个复制戳记浮点值。
    stamps    
    Returns a copy stamping string value.    返回一个副本戳记字符串值。
    strcasecmp    
    Compares two strings, ignoring case.    比较两个字符串,忽略大小写。
    strcasematch    
    Returns 1 if a string matches a pattern, ignoring case.    如果字符串与模式匹配,则返回1,忽略大小写。
    strcat    
    Returns the concatenation of two strings.    返回两个字符串的串联。
    strcmp    
    Compares two strings.    比较两个字符串。
    strdup    
    Duplicates a string.    复制字符串。
    stripmatrix    
    Strips non-essential characters from the string representation of a matrix or vector.    从矩阵或向量的字符串表示形式中删除不必要的字符。
    strlen    
    Returns the number of characters in a string.    返回字符串中的字符数。
    strmatch    
    Returns 1 if a string matches a pattern, including case.    如果字符串与模式匹配(包括大小写),则返回1。
    strreplace    
    Replaces substrings with a new string.    用新字符串替换子字符串。
    sturb    
    Generates spatially coherent 3D noise based on sparse convolution.    基于稀疏卷积生成空间相干3D噪声。
    substr    
    Returns a substring of a string.    返回字符串的子字符串。
    surflen    
    Returns the length of the 3D curve between two points on a surface.    返回曲面上两点之间3D曲线的长度。
    system    
    Runs a system command line and returns the output.    运行系统命令行并返回输出。
    systemES    
    Runs a system command line and returns the exit status.    运行系统命令行并返回退出状态。
    systemRAW    
    Runs a system command line and returns the output with no processing.    运行系统命令行并返回未经处理的输出。
    tan    
    Returns the tangent of the argument.    返回参数的正切值。
    tanh    
    Returns the hyperbolic tangent of the argument.    返回参数的双曲正切值。
    tex    
    Returns the interpolated color of a point on an on-disk texture map.    返回磁盘纹理贴图上某个点的插值颜色。
    texni    
    Returns the non-interpolated color of a point on an on-disk texture map.    返回磁盘纹理贴图上某个点的非插值颜色。
    tolower    
    Returns the all-lowercase version of a string.    返回字符串的全小写版本。
    toupper    
    Returns the all-uppercase version of a string.    返回字符串的全大写版本。
    translate    
    Takes X, Y, and Z translation values and returns a translation matrix.    获取X、Y和Z平移值并返回平移矩阵。
    transpose    
    Transposes a matrix.    转置矩阵。
    trunc    
    Converts a number to an integer by truncating any fractional part, rounding towards 0.    通过截断任何小数部分,向0舍入,将数字转换为整数。
    turb    
    Generates spatially coherent 3D noise.    产生空间相干3D噪声。
    uniqueval    
    Returns a unique value of an integer attribute.    返回整数属性的唯一值。
    uniquevals    
    Returns a unique value of a string attribute.    返回字符串属性的唯一值。
    unituv    
    Converts real UV to unit UV.    将真实UV转换为单位UV。
    uvdist    
    Returns the distance between parameteric locations on two primitives.    返回两个图元上参数化位置之间的距离。
    vangle    
    Returns the angle between two vectors.    返回两个向量之间的角度。
    vector    
    Converts a string specification into a vector.    将字符串规格转换为向量。
    vector3    
    Converts three values into a 3-component vector.    将三个值转换为一个三分量向量。
    vector4    
    Converts four values into a 4-component vector.    将四个值转换为一个四分量向量。
    vertex    
    Returns the value of a vertex attribute.    返回顶点属性的值。
    vertexattriblist    
    Returns a space-separated list of vertex attribute names.    返回以空格分隔的顶点属性名称列表。
    vertexattribsize    
    Returns the number of components in a vertex attribute.    返回顶点属性中组件的数量。
    vertexattribtype    
    Returns the type of a vertex attribute.    返回顶点属性的类型。
    vertexgrouplist    
    Returns the list of vertex groups in a surface node.    返回曲面节点中的顶点组列表。
    vertexgroupmask    
    Returns the list of vertex groups matching a pattern in a surface node.    返回与曲面节点中的模式匹配的顶点组列表。
    vertexs    
    Returns the string value of a vertex attribute.    返回顶点属性的字符串值。
    vertexsmap    
    Returns a string from a list of strings in a vertex attribute.    从顶点属性的字符串列表中返回一个字符串。
    vertexsnummap    
    Returns the number of unique strings bound to a point attribute.    返回绑定到点属性的唯一字符串的数量。
    vlength    vlength
    Returns the length of a vector.    返回向量的长度。
    vlength2    vlength2
    vmatch    
    Channel segment function: matches the incoming and outgoing slopes.    通道段功能:匹配流入和流出斜率。
    vmatchin    
    Channel segment function: matches the incoming slope.    通道区段功能:匹配输入斜率。
    vmatchout    
    Channel segment function: matches the outgoing slope.    通道段功能:匹配流出斜率。
    volumeaverage    
    Returns the average value of all the voxels in a volume.    返回体积中所有体素的平均值。
    volumegradient    
    Returns the gradient of a volume primitive at a specified location.    返回指定位置的体积图元的渐变。
    volumeindex    
    Returns the value of a volume primitive at a specified voxel.    返回指定体素处体积图元的值。
    volumeindextopos    
    Converts volume voxel coordinates to world-space coordinates.    将体积体素坐标转换为世界空间坐标。
    volumemax    
    Returns the maximum value of all voxels in a volume.    返回体积中所有体素的最大值。
    volumemin    
    Returns the minimum value of all voxels in a volume.    返回体积中所有体素的最小值。
    volumepostoindex    
    Converts world space coordinates to volume voxel coordinates.    将世界空间坐标转换为体积体素坐标。
    volumeres    
    Returns the resolution of a volume.    返回体积的分辨率。
    volumesample    
    Returns the value of a volume at a specified position.    返回指定位置的体积值。
    volumevoxeldiameter    
    Returns the approximage diameter of a volume voxel in world space.    返回世界空间中体积体素的近似直径。
    vorigin    
    Returns a vector of an objects' transforms.    返回对象变换的向量。
    vpname    
    Takes a viewer name and a viewport number and returns the viewport’s name.    获取查看器名称和视区编号,并返回视区名称。
    vrorigin    
    Returns a vector of an object’s rotations.    返回对象旋转的向量。
    vscale    
    Multiplies a vector by a scaling factor.    将向量乘以比例因子。
    vset    
    Creates a vector with each component set to the same value.    创建每个分量都设定为相同值的向量。
    vsize    
    Returns the number of elements in a vector.    返回向量中元素的数量。
    vtorigin    
    Returns a vector of an object’s translations.    返回对象翻译的向量。
    wrap    
    Wraps a value between a minimum and maximum.    在最小值和最大值之间换行。
    xyzdist    
    Returns the distance between a 3D coordinate and a     返回三维坐标和图

  • 25
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值