MovieWidget::SetMovieBlendState
Defined in:
Sets the blend state for a movie.
C4Movies.h
Prototype
void SetMovieBlendState(uint32 state);
Parameters
state |
The new movie blend state. |
Description
The SetMovieBlendState
function sets the blend state used by a movie widget when playing a movie that contains an alpha channel. The state
parameter can be any of the same values that are accepted by the Renderable::SetAmbientBlendState
function. The default blend state is kBlendInterpolate
.For movies that do not contain an alpha channel, the current movie blend state is ignored, and the movie is rendered as if the blend state is
kBlendReplace
.
See Also