Class AlphaChannelUsageSettings

Class that notifies its parent ManagedSettigns or ManagedSubSettings object when one of its members changes.

Hierarchy

  • FrameworkObject
    • AlphaChannelUsageSettings

Constructors

Accessors

  • get depthEncodeFar(): number
  • Determins the depth value encoded to 0 when writing depth to the alpha channel.

    Returns number

  • set depthEncodeFar(value): void
  • Parameters

    • value: number

    Returns void

  • get depthEncodeNear(): number
  • Determins the depth value encoded to 1 when writing depth to the alpha channel.

    Returns number

  • set depthEncodeNear(value): void
  • Parameters

    • value: number

    Returns void

Methods

  • Marks the object as dirty.

    Parameters

    Returns void

  • Allows modifying this object multiple times in a row in a scope, without marking the object dirty immediately. Dirty flags are accumulated and the object is marked dirty at the end.

    Parameters

    • action: (() => void)

      The scope where the object is modified.

        • (): void
        • Returns void

    Returns void