ITransformProperty::CalcValueAtTime method
The CalcValueAtTime method calculates the property value at a particular time, using the evaluation function type that was specified for the property.
Syntax
HRESULT CalcValueAtTime(
[in] double dblTime,
[out] 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 value
The method returns an HRESULT of S_OK for success, or a standard COM error code for failure.
Requirements
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
Library |
|