StepResolution
Collapse the table of content
Expand the table of content

StepResolution property

Retrieves the step size that corresponds to the smallest meaningful change for the IDXEffect::Progress property.

Syntax

HRESULT value = object.get_StepResolution(float* pVal);

Property values

Type: float

the smallest meaningful step size for the transform's transition.

Remarks

Some transforms might not have a natural step resolution, or might be unable to compute their resolution. In these cases, the transform returns a value of zero.

The value returned by this property can be used to determine the maximum number of times a transform must execute for a complete transition. For example, if the transform is alpha fading from 0 to 255 (clear to fully opaque), the step resolution is 0.00392, or 1/255.

Executing the transform in smaller steps than pVal does not affect the outcome of the transform. You can use this to skip unnecessary executions of transforms.

 

 

Show:
© 2016 Microsoft