MediaElement.AddVideoEffect(String, Boolean, IPropertySet) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies a video effect to playback. Takes effect for the next source that is set on this MediaElement.
public:
virtual void AddVideoEffect(Platform::String ^ effectID, bool effectOptional, IPropertySet ^ effectConfiguration) = AddVideoEffect;
void AddVideoEffect(winrt::hstring const& effectID, bool const& effectOptional, IPropertySet const& effectConfiguration);
public void AddVideoEffect(string effectID, bool effectOptional, IPropertySet effectConfiguration);
function addVideoEffect(effectID, effectOptional, effectConfiguration)
Public Sub AddVideoEffect (effectID As String, effectOptional As Boolean, effectConfiguration As IPropertySet)
Parameters
- effectID
-
String
Platform::String
winrt::hstring
The identifier for the desired effect.
- effectOptional
-
Boolean
bool
true if the effect shouldn't block playback when the effect can't be used at run time. false if the effect should block playback when the effect can't be used at run time.
- effectConfiguration
- IPropertySet
A property set that transmits property values to specific effects as selected by effectID.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro