Sean Rowe
I can't seem to find a comprehensive list of the variables, i'll update if I find them
I thought something similar had been on Erwin Santacruz's
Houdini Tricks [
houdinitricks.com] site once, but only see an introduction to the concept:
http://houdinitricks.com/quicktip-new-attribute-syntax-in-houdini-15/ [
houdinitricks.com]
$BBX relbbox(@P).x
$BBY relbbox(@P).y
$BBZ relbbox(@p).z
$T @Time
$FF @Frame
$ST @SimTime
$SF @SimFrame
1/$FPS @TimeInc
From the internal help:
Geometry attributesIn HScript expressions on geometry you can reference the value of an attribute using `@attributename`. For example, you can use `@pscale` to get the value of the `pscale` (point scale) attribute on the current point.
For vector attributes such as `P` (position), you can use dot notation to grab a component, for example
`@P.x`. You can use `.x/.y/.z` or `.1/.2/.3` or `.r/.g/.b`, whichever makes sense for the type of data.
Local variablesNodes often provide variables that are useful for expressions on nodes of that type. For example, a node that operates over the points in a geometry will have a `@ptnum` variable representing the point number of the current point. The help for a node will list the local variables you can use in expressions on that type of node.