matrix  agentclipsamplelocal(<geometry>geometry, int prim, string clipname, float time)
matrix agentclipsamplelocal(<geometry>geometry, int prim, string clipname, float time, int transform)
Evaluates the clip at the given time and returns the local transforms of the agent’s rig.
Returns an empty array if
clipname is not one of the agent’s animation clips,
prim is out of range,
prim is not an agent primitive, or
transform is out of range.
matrix signature is more efficient than the
matrix signature for sampling a single transform.
The name of the geometry file to reference. Inside Houdini, this may be
op:full_path_to_sop to reference a SOP.
The number of the input to reference. The first input is number
0, the second is
The primitive number.
The name of the animation clip.
The time (in seconds) to evaluate the clip at. If this time is greater than the clip’s length, it will be wrapped around.
Index of a transform in the agent’s rig.
Sample the local transforms of the walk clip after 1.2 seconds.
matrix xforms = agentclipsamplelocal(0, @primnum, "agent1_clip.walk", 1.2);