Configures the appearance of ViewObjects that belong to a ViewStyleBin.

Properties

view: View

The View to which this Effect belongs.

Accessors

  • get clearDepthBefore(): boolean

    Gets whether to clear the depth buffer before rendering this style bin.

    Default is false.

    Returns boolean

  • set clearDepthBefore(value: boolean): void

    Sets whether to clear the depth buffer before rendering this style bin.

    When true, objects in this style bin are also rendered in a depth-cleared style-bin pass, making the bin treatment visible through occluding geometry while leaving the object's normal rendering treatment intact.

    Default is false.

    Note: updating this property marks the View dirty but does not change membership.

    Parameters

    • value: boolean

    Returns void

  • get edgeAlpha(): number

    Gets the transparency of style-bin edges.

    A value of 0.0 indicates fully transparent, 1.0 is fully opaque.

    Default is 0.2.

    Returns number

  • set edgeAlpha(value: number): void

    Sets the transparency of style-bin edges.

    A value of 0.0 indicates fully transparent, 1.0 is fully opaque.

    Default is 0.2.

    Parameters

    • value: number

    Returns void

  • get fillAlpha(): number

    Gets the transparency of style-bin surfaces.

    A value of 0.0 indicates fully transparent, 1.0 is fully opaque.

    Default is 0.2.

    Returns number

  • set fillAlpha(value: number): void

    Sets the transparency of style-bin surfaces.

    A value of 0.0 indicates fully transparent, 1.0 is fully opaque.

    Default is 0.2.

    Parameters

    • value: number

    Returns void

Methods