ITransformProperty::SetValueAtTime

The SetValueAtTime method specifies a property value at a particular time.

Syntax

HRESULT SetValueAtTime(
  double  dblTime,
  PROPVARIANT  varValue
);

Parameters

dblTime

[in]  The time to associate with the submitted value. This is typically a value from 0.0 to 1.0.

varValue

[in]  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.

Remarks

If no point exists at the specified time, this method will create a new point at the specified time. If a point already exists, this method overwrites the existing value at that time.

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