Contents

setXValue(_:yValue:toParameter:at:)

Sets the xy values for a position parameter.

Declaration

func setXValue(_ x: Double, yValue y: Double, toParameter parameterID: UInt32, at time: CMTime) -> Bool

Parameters

  • x:

    Specified x value (0.0 - 1.0) in floating point space.

  • y:

    Specified y value (0.0 - 1.0) in floating point space.

  • parameterID:

    Unique identifier for the parameter.

  • time:

    Specified time to set the values.

Return Value

Returns YES if the value is set successfully; NO otherwise.

Discussion

Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See Understanding time in FxPlug.

See Also

Instance Methods