Share via


VisualInteractionSource.ConfigureCenterPointXModifiers Method

Definition

Takes an ordered list of CompositionConditionalValue objects. In a frame, the first CompositionConditionalValue to have its Condition property return true replaces the Composition.Visual.CenterPoint X value with the value provided by the CompositionConditionalValue.Value property. If none evaluate to true, the Composition.Visual.CenterPoint X value is not replaced for that frame.

public:
 virtual void ConfigureCenterPointXModifiers(IIterable<CompositionConditionalValue ^> ^ conditionalValues) = ConfigureCenterPointXModifiers;
void ConfigureCenterPointXModifiers(IIterable<CompositionConditionalValue> const& conditionalValues);
public void ConfigureCenterPointXModifiers(IEnumerable<CompositionConditionalValue> conditionalValues);
function configureCenterPointXModifiers(conditionalValues)
Public Sub ConfigureCenterPointXModifiers (conditionalValues As IEnumerable(Of CompositionConditionalValue))

Parameters

conditionalValues

IIterable<CompositionConditionalValue>

IEnumerable<CompositionConditionalValue>

The collection of replacement values.

Applies to