ITransformProperty::CalcValueAtTime
The CalcValueAtTime method calculates the property value at a particular time, using the evaluation function type that was specified for the property.
Syntax
HRESULT get_Type(
double dblTime,
PROPVARIANT* varCalculatedValue
);
Parameters
dblTime
[in] The time at which to calculate the property value. This should be within the time scale specified in the XML initialization file (typically from 0.0 to 1.0).
varCalculatedValue
[out] Pointer to the value at the specified time. This value can be either a single value of any acceptable type, or an array of up to 4 float elements (type VT_R4 | VT_VECTOR).
Return Values
The method returns an HRESULT of S_OK for success, or a standard COM error code for failure.
Requirements
Client: Windows Vista
Header: Include gputransformplugin.h and GPUPipelineTime.h.
Library: Use GPUPipelineVC7.lib (for Visual Studio .NET) or GPUPipelineVC8.lib (for Visual Studio 2005).
See Also