formZ SDK | 5.0 API Reference | Project | Modeling | Animation

# fz_anim_eval_value_cntl

Description

Evaluates a controller at the given time and returns its value.
Some controllers take an input value also (like Sine, Noise). In this case, pass in the input value also.

Plugin Prototype

fzrt_error_td fz_anim_eval_value_cntl(

fzrt_int | windex,
fz_anim_node_ptr | cntl_node,
double | time,
double * | value )

Parameters

windex [Input]

project window index

cntl_node [Input]

controller animation node

time [Input]

time (in seconds)

value [Input, Result]

value of track at given time

Returns

Error codes

Availability

6.1.0.0

Example Files

util_anim_eval_value.fsl

See Also

,

Function Set

fz_anim_fset

Defined in

fz_anim_api.h