Documentation - v20.0.0-dev
    Preparing search index...

    Class SettingsBinding<TTarget>

    Writes settings to the object they apply to, its target (e.g. the render backend of a Renderer, or an application's viewer): each one when it is bound, then when it changes. The settings outlive it (shared by a scene and its renderer): its owner disconnects it with dispose.

    Type Parameters

    • TTarget
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Writes setting to the target with write: now, and at each change.

      Type Parameters

      • TValue

      Parameters

      Returns void

    • Disconnects from the settings: nothing is written nor called after.

      Returns void

    • Calls onChange at the change of any setting of settings (e.g. to draw a frame).

      Parameters

      Returns void