GetOpacity method

Retrieves the opacity of the foreground surface.

Syntax


HRESULT retVal = object.GetOpacity(pOpacity);

Parameters

pOpacity [out]

Type: float

Pointer to a value that indicates the opacity of the foreground surface. Values can range from 0.0 (fully transparent) to 1.0 (fully opaque).

Remarks

The opacity value is applied to the foreground surface when it is composited over the background surface.

See also

IDXSurfaceModifier::SetOpacity

 

 

Show: