Interface ViewStyleBinParams

Parameters for a user-defined object style bin in a View.

interface ViewStyleBinParams {
    backfaces?: boolean;
    clearDepthBefore?: boolean;
    edgeAlpha?: number;
    edgeColor?: Vec3;
    edges?: boolean;
    edgeWidth?: number;
    enabled?: boolean;
    fill?: boolean;
    fillAlpha?: number;
    fillColor?: Vec3;
    id: string;
    priority?: number;
}

Hierarchy (View Summary)

Properties

backfaces?: boolean

Whether Effect backfaces are visible.

Default is false.

clearDepthBefore?: boolean

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.

edgeAlpha?: number

Opacity of Effect edges.

Value is in range [0..1].

Default is 1.

edgeColor?: Vec3

The RGB color of Effect edges.

Default is [0.2, 0.2, 0.2].

edges?: boolean

Whether Effect edges are visible.

Default is true.

edgeWidth?: number

Pixel width of Effect edges.

Default is 1.

enabled?: boolean

Whether this style bin participates in rendering.

fill?: boolean

Whether Effect surfaces are filled.

Default is true.

fillAlpha?: number

Opacity of Effect surfaces.

Value is in range [0..1].

Default is 1.

fillColor?: Vec3

The RGB color of Effect surfaces.

Default is [1.0, 1.0, 1.0].

id: string

Unique ID of the style bin within the View.

priority?: number

Conflict precedence when multiple enabled bins contain the same ViewObject.

Higher-priority bins win. Equal priorities are resolved deterministically by style-bin ID.