3d-wrapper

@cognite/3d-wrapper-base > NodeStyle

Interface: NodeStyle

Object that stores a rule to apply a styling to a set of nodes export:

interface: NodeStyle

Hierarchy

NodeStyle

Indexable

[key: string]:  string | boolean | number | undefined

Object that stores a rule to apply a styling to a set of nodes

Index

Properties


Properties

applyToSubtree

● applyToSubtree: boolean

Defined in StyleContainer/NodeStyle.ts:21

Apply all styling elements to the children type: {boolean}

memberof: NodeStyle


<Optional> color

● color: * undefined | string *

Defined in StyleContainer/NodeStyle.ts:30

parseable color string e.g. red, #fff type: {string}

memberof: NodeStyle


<Optional> isHighlighted

● isHighlighted: * undefined | false | true *

Defined in StyleContainer/NodeStyle.ts:44

Whether to highlight the nodes in the viewer type: {boolean}

memberof: NodeStyle


nodeId

● nodeId: number

Defined in StyleContainer/NodeStyle.ts:14

Root node type: {number}

memberof: NodeStyle


<Optional> visibility

● visibility: * “none” | “partial” | “full” *

Defined in StyleContainer/NodeStyle.ts:37

Visibility Style. Can hide or partially hide nodes type: {(‘none’ | ‘partial’ | ‘full’)}

memberof: NodeStyle