getXValue(_:yValue:fromParameter:at:)
Gets the xy position value (in 0.0 - 1.0 floating point) from a parameter.
Declaration
func getXValue(_ x: UnsafeMutablePointer<Double>, yValue y: UnsafeMutablePointer<Double>, fromParameter parameterID: UInt32, at time: CMTime) -> BoolParameters
- x:
Pointer to the plug-in variable for the x value.
- y:
Pointer to the plug-in variable for the y value.
- parameterID:
Unique identifier for the parameter.
- time:
Specified time to get the values.
Return Value
Returns YES if the values are retrieved 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
getBoolValue(_:fromParameter:at:)getCustomParameterValue(_:fromParameter:at:)getFloatValue(_:fromParameter:at:)getFontName(_:fromParameter:at:)getGradientSamples(_:numSamples:depth:fromParameter:at:)getHistogramBlack(in:blackOut:whiteIn:whiteOut:gamma:forChannel:fromParameter:at:)getIntValue(_:fromParameter:at:)getParameterFlags(_:fromParameter:)getPathID(_:fromParameter:at:)getRedValue(_:greenValue:blueValue:alphaValue:fromParameter:at:)getRedValue(_:greenValue:blueValue:fromParameter:at:)getStringParameterValue(_:fromParameter:)