SelectionService

class wvc.SelectionService()

ISelectionService

Constructors

wvc.SelectionService.constructor()
SelectionService(): SelectionService

Returns: SelectionService

Properties

wvc.SelectionService.DefaultConfiguration

static readonly

DefaultConfiguration: { bodyColor: string, faceAndLineColor: string, faceLineSelectionEnabled: boolean, honorsSceneVisibility: boolean }
wvc.SelectionService.serviceName

readonly

serviceName: “SelectionService”

Accessors

wvc.SelectionService.webViewer()
get webViewer(): (undefined | IWebViewer)

Returns: (undefined | IWebViewer)

set webViewer(value: (undefined | IWebViewer)): void

Parameters

value: (undefined | IWebViewer)

Returns: void

Methods

wvc.SelectionService.getBodyColor()
getBodyColor(): string

Returns: string

wvc.SelectionService.getEnableFaceLineSelection()
getEnableFaceLineSelection(): boolean

Returns: boolean

wvc.SelectionService.getFaceAndLineColor()
getFaceAndLineColor(): string

Returns: string

wvc.SelectionService.getHonorsSceneVisibility()
getHonorsSceneVisibility(): boolean

Returns: boolean

wvc.SelectionService.resetConfiguration()
resetConfiguration(obj: object): Promise

Parameters

obj: object

Returns: Promise

wvc.SelectionService.setBodyColor()
setBodyColor(color: string): Promise

Parameters

color: string

Returns: Promise

wvc.SelectionService.setEnableFaceLineSelection()
setEnableFaceLineSelection(enableFaceLineSelection: boolean): Promise

Parameters

enableFaceLineSelection: boolean

Returns: Promise

wvc.SelectionService.setFaceAndLineColor()
setFaceAndLineColor(color: string): Promise

Parameters

color: string

Returns: Promise

wvc.SelectionService.setHonorsSceneVisibility()
setHonorsSceneVisibility(honorsSceneVisibility: boolean): void

Parameters

honorsSceneVisibility: boolean

Returns: void