Simstim

VEX Dictionary

1118 functions · showing the first 200

  1. fitexamplesRemaps a value from one range into another, clamped to the new range.
  2. nearpointsexamplesLists the point numbers nearest to a position, closest first, within a search radius.
  3. noiseexamplesSmooth Perlin-style noise from a position, centred around 0.5.
  4. pcopenexamplesOpens a point cloud query around a position and returns a handle for the other pc functions.
  5. primuvexamplesReads any attribute at an exact parametric (uv) location on a primitive.
  6. xyzdistexamplesFinds the closest spot on another geometry's surface: its distance, primitive and parametric uv.
  7. absComputes the absolute value of an int, float, or vector, per component.
  8. abspathConverts a relative file path to an absolute one, without requiring the file to exist.
  9. accessframeNotifies the compositor that the current cook requires pixel data from the specified frame number.
  10. acosComputes the inverse cosine (arccosine) of a float or vector, component-wise.
  11. acospiComputes the arccosine of a value divided by pi, for scalars or vectors.
  12. addattribCreates a new attribute of a chosen class (detail, point, vertex, or primitive) with a default value.
  1. addattributeAdds geometry attributes using an old API call; replaced by addattrib or setattrib.
  2. adddetailattribCreates a detail (whole-geometry) attribute with a default value and optional transform typing.
  3. addgroupFlags geometry elements into a named group via a deprecated call; use setattrib instead.
  4. addpointCreates a new point at a given position, or as a copy of an existing point, and returns its number.
  5. addpointattribCreates a point attribute with a default value and optional transform-type metadata.
  6. addprimCreates a new primitive, such as a poly, optionally wiring it to given points.
  7. addprimattribCreates a primitive attribute with a default value and optional transform-type metadata.
  8. addvariablenameMaps an attribute name to a local $-style variable name for use in supporting SOPs.
  9. addvertexAppends a new vertex to a primitive, connects it to a given point, and returns the new vertex's index.
  10. addvertexattribCreates a vertex attribute with a default value and optional transform-type metadata.
  11. addvisualizerAppends a reference to another node's visualizers onto the visualizer attribute stored at a geometry's detail level.
  12. agentaddclipAdds a saved CHOP clip file to an agent primitive's clip definition (deprecated).
  13. agentchannelcountCounts how many channels an agent primitive's animation rig defines.
  14. agentchannelnamesLists every channel name defined by the rig of an agent primitive.
  15. agentchannelvalueReads the current value of one channel in an agent primitive's rig.
  16. agentchannelvaluesReads the current values of every channel in an agent primitive's rig at once.
  17. agentclipcatalogLists every animation clip that has been loaded into an agent primitive's definition.
  18. agentclipchannelLocates a named channel inside one of an agent's animation clips and gives back its index.
  19. agentclipchannelnamesLists the channel names contained in one of an agent primitive's animation clips.
  20. agentcliplayerblendCombines a set of values, weighting them by the layer weights and hierarchy of an agent's animation.
  21. agentcliplayersamplelocalEvaluates and mixes the layered clips on an agent, giving local-space transforms for its rig.
  22. agentcliplayersampleworldEvaluates and mixes the layered clips on an agent, giving world-space transforms for its rig.
  23. agentcliplengthReports the duration in seconds of a named animation clip on an agent primitive.
  24. agentclipnamesLists the animation clips currently assigned to an agent primitive.
  25. agentclipsampleSamples one channel's value from an agent's animation clip at a given time.
  26. agentclipsamplelocalSamples an agent's clip at a given time, returning local-space rig transforms.
  27. agentclipsamplerateReads the sample rate stored for one of the animation clips on an agent primitive.
  28. agentclipsampleworldSamples an agent's clip at a given time, returning world-space rig transforms.
  29. agentclipstarttimeReads when, in seconds, one of the animation clips on an agent primitive begins.
  30. agentcliptimesLists, for every animation clip on an agent primitive, the playback time it is currently at.
  31. agentcliptransformgroupsLists the transform groups used by an agent primitive's currently assigned clips.
  32. agentclipweightsLists how strongly each animation clip currently assigned to an agent primitive is weighted in the blend.
  33. agentcollisionlayerReturns the name of an agent primitive's collision layer (deprecated; use agentcollisionlayers).
  34. agentcollisionlayersLists the collision layer names defined on an agent primitive.
  35. agentcurrentlayerReturns the name of an agent primitive's active layer (deprecated; use agentcurrentlayers).
  36. agentcurrentlayersLists which layers are currently active on an agent primitive, by name.
  37. agentfindclipLooks up a clip by name in an agent primitive's definition and returns its index.
  38. agentfindlayerLooks up a layer by name in an agent primitive's definition and returns its index.
  39. agentfindtransformgroupLooks up a transform group by name in an agent primitive's definition and returns its index.
  40. agentlayerbindingsReports the rig transform that every shape within one of an agent's layers binds to.
  41. agentlayersLists every layer loaded into the definition of an agent primitive.
  42. agentlayershapesLists shape names referenced by an agent's layer for a given shape type or transform.
  43. agentlocaltransformGets one rig transform's matrix relative to its parent, as the agent primitive is posed right now.
  44. agentlocaltransformsReads the current transforms of all bones in an agent primitive's rig, expressed in local space.
  45. agentmetadataReads the metadata dictionary stored in an agent primitive's shared definition.
  46. agentrestlocaltransformReads the local-space rest-pose transform of one joint in an agent's rig.
  47. agentrestworldtransformReads the world-space rest-pose transform of one joint in an agent's rig.
  48. agentrigchildrenLists the direct child transforms of a given transform in an agent's rig.
  49. agentrigfindLooks up a transform by name in the rig of an agent primitive and returns its index.
  50. agentrigfindchannelLooks up a channel by name in the rig of an agent primitive and returns its index.
  51. agentrigparentLooks up which transform is the parent of a given rig transform, returning -1 at the root.
  52. agentsolvefbikRuns a full-body IK solve on an agent's skeleton to reach target transforms.
  53. agenttransformcountCounts the transforms, or bones, that make up the rig of an agent primitive.
  54. agenttransformgroupmemberChecks whether a given rig transform belongs to a named transform group.
  55. agenttransformgroupmemberchannelChecks whether a rig channel belongs to the transform group at a given index in an agent's definition.
  56. agenttransformgroupsLists the transform group names defined in an agent's rig.
  57. agenttransformgroupweightReturns a transform's blend weight within a given transform group, or zero if absent.
  58. agenttransformnamesLists the names of all transforms making up the rig of an agent primitive.
  59. agenttransformtolocalTurns an array of world-space transforms into local-space ones for an agent's rig.
  60. agenttransformtoworldTurns an array of local-space transforms into world-space ones for an agent's rig.
  61. agentworldtransformGets one rig transform's matrix accumulated through all its parents, as the agent primitive is posed right now.
  62. agentworldtransformsReads the current transforms of all bones in an agent primitive's rig, expressed in world space.
  63. albedoEstimates the fraction of light a bsdf reflects, given an outgoing view direction.
  64. alphanameReturns the compositor's default name for the alpha image output plane, usually A.
  65. ambientGives the shading color contributed by the scene's ambient light sources.
  66. anoiseGenerates cellular "alligator" noise at a 3D position, similar in look to Worley noise.
  67. appendAdds a value or array of values onto the end of an array or string.
  68. areaEstimates, in pixels, the shading area of the micropolygon surrounding a derivable variable like P.
  69. argsortReturns the indices that would sort an array's values into increasing order.
  70. arrayBuilds an array out of the given arguments; wrap it in a type cast such as vector[]() to type it correctly.
  71. ashikhminBuilds an anisotropic specular bsdf with independent highlight sizes along two tangent directions.
  72. asinComputes the inverse sine (arcsine) of a float or vector, component-wise.
  73. asinpiComputes the arcsine of a value divided by pi, for scalars or vectors.
  74. assert_enabledReports whether VEX assertions are turned on via the HOUDINI_VEX_ASSERT environment variable.
  75. assignUnpacks a vector or matrix's components directly into separate float variables efficiently.
  76. atanComputes the inverse tangent of a value, or of y/x, per component for vectors.
  77. atan2Computes the angle whose tangent is y/x, using both signs to pick the right quadrant.
  78. atan2piComputes the angle whose tangent is y/x, then divides the result by pi, giving -1 to 1.
  79. atanpiComputes the inverse tangent of a value, or of y/x, divided by pi, for scalars or vectors.
  80. atofParses a string into a floating-point number, ignoring surrounding whitespace and supporting exponents.
  81. atoiParses a string into an integer, optionally using a specified numeric base.
  82. attenComputes simple distance attenuation as attenuation divided by attenuation plus distance.
  83. attribReads a point, primitive, vertex, or detail attribute's value with the class chosen at runtime.
  84. attribclassReturns which class (detail, primitive, point, or vertex) a named attribute belongs to.
  85. attribdataidReturns an attribute's internal data id, useful for caching acceleration structures across cooks.
  86. attribsizeGives an attribute type's tuple size, for example the number of components in a vector.
  87. attribtypeReturns a numeric code identifying an attribute's data type, such as float or string.
  88. attribtypeinfoReads the transform-related metadata string describing how an attribute should be transformed.
  89. avgComputes the average of one or more numeric arguments, or of a vector's components.
  90. binputReads the 2x2 pixel neighborhood around a UV position and blends it with bilinear interpolation.
  91. blackbodyDerives an incandescent black body's CIE XYZ color from a temperature and a luminance.
  92. blinnBuilds a Blinn specular bsdf, or directly evaluates Blinn shading for a normal and view vector.
  93. blinnBRDFComputes the Blinn BRDF value for given light, normal, and view vectors, for use in custom illuminance loops.
  94. bouncelabelReturns the text label associated with a given bounce or shading-component bitmask.
  95. bouncemaskConverts a space-separated list of shading-component labels into a bounce bitmask.
  96. bumpmapSamples a texture file's bump derivatives directly; superseded by Du/Dv on texture.
  97. bumpmapASamples the alpha channel's bump derivatives from a texture file; superseded by Du/Dv on texture.
  98. bumpmapBSamples the blue channel's bump derivatives from a texture file; superseded by Du/Dv on texture.
  99. bumpmapGSamples the green channel's bump derivatives from a texture file; superseded by Du/Dv on texture.
  100. bumpmapLSamples the luminance channel's bump derivatives from a texture file; superseded by Du/Dv on texture.
  101. bumpmapRSamples the red channel's bump derivatives from a texture file; superseded by Du/Dv on texture.
  102. bumpnameReturns the compositor's default name for the bump image output plane, usually B.
  103. cbrtComputes the cube root of a float or vector, component-wise.
  104. ceilRounds a float or vector up to the nearest integer, component-wise.
  105. chEvaluates a node channel or parameter at the current or a given time and returns its value.
  106. ch2Evaluates a matrix2-type parameter's component channels together and returns them as a matrix2.
  107. ch3Evaluates a matrix3-type parameter's component channels together and returns them as a matrix3.
  108. ch4Evaluates a 4x4 matrix-type parameter's component channels together and returns them as a matrix.
  109. chaddCreates new named channels on a CHOP node while iterating over clips or samples.
  110. chattrReads a CHOP attribute's value at the clip, channel, sample, or channel-sample level.
  111. chattrnamesLists, for one CHOP input, all attribute names belonging to a given class such as clip or channel.
  112. chdictEvaluates a parameter holding a key-value dictionary and gives back its contents as a dict.
  113. chendGives the index of the final sample held by a given CHOP input.
  114. chendfGives the frame number at which a CHOP input's final sample falls.
  115. chendtGives the time in seconds at which a CHOP input's final sample falls.
  116. chexprEvaluates a channel using a substituted segment expression, useful for extracting slope or acceleration.
  117. chexprfSubstitutes a segment expression into a channel and evaluates it at a specific frame.
  118. chexprtSubstitutes a segment expression into a channel and evaluates it at a specific time in seconds.
  119. chfEvaluates a float channel or parameter at the current or a given time.
  120. chiEvaluates an integer channel or parameter at the current or a given time.
  121. chiangBuilds a bsdf implementing the Chiang physically based hair and fur shading model, for curve geometry.
  122. chiang_furBuilds a bsdf extending the Chiang hair model with a medulla term for thick fur.
  123. chidResolves a channel path into an operator id, parameter index, and vector index, or validates them.
  124. chindexFinds a CHOP channel's numeric index in an input from its name, or -1 if absent.
  125. chinputReads a CHOP channel's value at a given sample, interpolating for fractional samples.
  126. chinputlimitsFinds the smallest and largest sample values in a channel of a CHOP input.
  127. chnameReturns the name of a channel from its index, such as tx for a channel in a CHOP input.
  128. chnamesLists the names of the channels a given CHOP input contains.
  129. chnumchanCounts the channels present in a given CHOP input.
  130. chopReads a sample from a named CHOP node's channel, interpolating for fractional sample indices.
  131. choplocalReads a sample from a CHOP node's local transform channel at a given index.
  132. choplocaltReads a CHOP node's local transform channel at a given sample and evaluation time.
  133. choptReads a CHOP node's channel at a given sample index and evaluation time.
  134. chpEvaluates a vector4 channel or parameter, combining its component channels, at the current or a given time.
  135. chprim_clearClears all keyframes from a channel primitive identified by a geometry handle and index.
  136. chprim_destroykeyRemoves the keyframe at a specific time from a channel primitive on a geometry handle.
  137. chprim_endReports when a channel primitive's animation ends, in seconds.
  138. chprim_evalSamples the value of a channel primitive at a specified time in seconds.
  139. chprim_insertkeyInserts a new keyframe at a specified time into a channel primitive.
  140. chprim_keycountCounts the number of keyframes stored in a channel primitive.
  141. chprim_keytimesLists, in seconds, when each keyframe occurs within a channel primitive.
  142. chprim_keyvaluesLists the value of every keyframe stored in a channel primitive.
  143. chprim_lengthReports how many seconds long a channel primitive's timeline runs.
  144. chprim_setkeyaccelModifies the acceleration already set on a channel-primitive key, optionally just the in or out half.
  145. chprim_setkeyslopeAdjusts the in or out slope of an existing key on a channel primitive.
  146. chprim_setkeyvalueOverwrites the value stored at an existing key on a channel primitive.
  147. chprim_startReports when a channel primitive's animation begins, in seconds.
  148. chrConverts a single Unicode codepoint into its UTF-8 encoded string form.
  149. chrampSamples a ramp channel or parameter at a normalized position, optionally at a set time.
  150. chrampderivComputes the slope of a ramp channel at a given position along its curve.
  151. chrateReports how many samples per second a given CHOP input uses.
  152. chreadbufReads a stored value from the CHOP context's shared temporary buffer at an index.
  153. chremoveDeletes one or more CHOP channels by their index or name.
  154. chremoveattrDeletes one or more CHOP attributes by name, optionally scoped to a class.
  155. chrenameRenames a CHOP channel, identified by index or name, to a new name.
  156. chresizebufResizes the CHOP context's shared temporary buffer to hold a given number of values.
  157. chsEvaluates a string channel or parameter and returns its current text value.
  158. chsetattrWrites a value to a CHOP attribute for a given channel and sample index.
  159. chsetlengthSets the number of samples held in the current CHOP channel data.
  160. chsetrateSets the sample rate applied to the current CHOP channel data.
  161. chsetstartMoves the starting sample index of the CHOP clip being written, shifting where its data begins.
  162. chsopReads an operator-path channel or parameter and returns the target node's path.
  163. chsrawReturns a channel's raw expression text without evaluating it.
  164. chstartReports the first sample index of a CHOP input, paired with chstartf and chstartt.
  165. chstartfReports the frame number at the first sample of a CHOP input, paired with chstart.
  166. chstarttReports the time, in seconds, of a CHOP input's first sample, paired with chstart.
  167. chuEvaluates a channel or two-component parameter and returns it as a vector2.
  168. chvEvaluates a channel or vector parameter, by name or operator id, returning a vector.
  169. chwritebufWrites a float or transform into the CHOP context's shared temporary buffer at an index.
  170. cinputReads the precise, unfiltered pixel color of a COP2 image at given coordinates.
  171. cksplineInterpolates a Catmull-Rom spline through explicit position and value key pairs at a given t.
  172. clampConstrains a number or vector so each component stays between a minimum and maximum.
  173. clipTrims a line segment, in place, against a plane or an axis-aligned bounding box.
  174. colormapSamples a filtered color, with optional alpha, from an image file at uv coordinates.
  175. colornameReturns the compositor's default name for the color image plane, typically C.
  176. combinelocaltransformBuilds a world transform from local and parent transforms, honoring a scale-inheritance mode.
  177. computenormalComputes a normal in shading contexts; in SOP context, it instead decides if normals get recomputed.
  178. concatJoins multiple strings into one, faster than repeated plus-operator concatenation for 3 or more.
  179. coneBuilds a cone-shaped specular reflectance lobe around a given direction and angle.
  180. cosComputes the cosine of a float or each component of a vector.
  181. coshComputes the hyperbolic cosine of a float or each component of a vector.
  182. cospiComputes the cosine after first multiplying the input by pi.
  183. cracktransformBreaks a transform matrix into translate, rotate, scale, and shear components around a pivot.
  184. create_cdfBuilds a cumulative distribution function array from an input probability density function array.
  185. create_pdfBuilds a probability density function array from a set of input weight values.
  186. cregioncapturetransformReads the capture transform of a Capture Region SOP without cooking the node.
  187. cregiondeformtransformReads the deform transform of a Capture Region SOP without cooking the node.
  188. cregionoverridetransformReads a Capture Region SOP's capture or deform transform, chosen by the global override flag.