Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SliceViewModel

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

excludeGroundSurface

excludeGroundSurface: boolean

Indicates whether the Ground and layers that are draped on the ground surface are excluded from the slice.

Read more...

excludedLayers

Add layers to this collection to exclude them from the slice.

Read more...

initialized

initialized: boolean

shape

shape: SlicePlane

The shape used to slice elements in a 3D scene.

Read more...

Readonly state

state: "disabled" | "ready" | "slicing" | "sliced"

The view model's state.

Read more...

tiltEnabled

tiltEnabled: boolean

Enable tilting the slice shape.

Read more...

view

view: SceneView

The view from which the widget will operate.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns SliceViewModel

clear

  • clear(): void
  • Clears the current slice.

    Read more...

    Returns void

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns SliceViewModel

  • Parameters

    Returns SliceViewModel

start

  • start(): void
  • Starts a new slice.

    Read more...

    Returns void

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc