Share via


ITransformProperty::SetValueAtTime method

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

Syntax

HRESULT SetValueAtTime(
  [in] double      dblTime,
  [in] 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 value

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

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
GPUPipelineTime.h
Library
GPUPipelineVC8.lib (Visual Studio 2005);
GPUPipelineVC7.lib (Visual Studio .NET)

See also

ITransformProperty Interface