EVALUATION_CURVE_TYPE

The EVALUATION_CURVE_TYPE enumeration describes how a property should change over time. This value is entered in the XML initialization file and is used only as a tool to help the transform calculate a numeric value for a specific time.

Syntax

typedef enum eEVALUATION_CURVE_TYPE
{
  StepEvaluation           = 0,
  LinearEvaluation         = 1,
  SquareEvaluation         = 2,
  InverseSquareEvaluation  = 3,
  SineEvaluation           = 4
}  EVALUATION_CURVE_TYPE;

Members

StepEvaluation

Specifies that the value remains unchanged between time points and the value changes instantaneously from one value to the next at a time point.

LinearEvaluation

A straight line between time points.

SquareEvaluation

A curve where the value between time points increases with the square of the time.

InverseSquareEvaluation

A curve where the value between time points is the inverse of the square of the time.

SineEvaluation

A sinusoidal curve between time points.

Remarks

A transition or effect can have only a single curve associated with it.

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