Partager via


EVALUATION_CURVE_TYPE enumeration

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;

Constants

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

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
GPUPipelineTime.h

See also

Enumeration Types