gstcontroller.direct_control_binding
Module for DirectControlBinding class
Types 3
A value mapping object that attaches control sources to gobject properties. It will map the control values directly to the target property range. If a non-absolute direct control binding is used, the value range 0.0 ... 1.0 is mapped to full target property range, and all values outside the range will be clipped. An absolute control binding will not do any value transformations.
Methods
DirectControlBinding self()Returns `this`, for use in `with` statements.DirectControlBindingGidBuilder builder()Get builder for [gstcontroller.direct_control_binding.DirectControlBinding] Returns: New builder objectbool absolute() @propertygst.control_source.ControlSource controlSource() @propertyvoid controlSource(gst.control_source.ControlSource propval) @propertygstcontroller.direct_control_binding.DirectControlBinding newAbsolute(gst.object.ObjectWrap object, string propertyName, gst.control_source.ControlSource cs)Create a new control-binding that attaches the #GstControlSource to the #GObject property. It will directly map the control source values to the target property range without any transformations.Constructors
this(gst.object.ObjectWrap object, string propertyName, gst.control_source.ControlSource cs)Create a new control-binding that attaches the #GstControlSource to the #GObject property. It will map the control source range [0.0 ... 1.0] to the full target property range, and clip all values ...Fluent builder implementation template for gstcontroller.direct_control_binding.DirectControlBinding
classDirectControlBindingGidBuilder : DirectControlBindingGidBuilderImpl!DirectControlBindingGidBuilder
Fluent builder for gstcontroller.direct_control_binding.DirectControlBinding
Methods
DirectControlBinding build()Create object from builder. Returns: New object