Skip to content

worldwind-ui API / ngx-worldwind / WwShapeBase

Abstract Class: WwShapeBase<T, O> ​

Defined in: angular/src/lib/shapes.ts:70

Lifecycle and events shared by every shape component.

Extended by ​

Type Parameters ​

T ​

T extends Highlightable

O ​

O

Constructors ​

Constructor ​

new WwShapeBase<T, O>(): WwShapeBase<T, O>

Defined in: angular/src/lib/shapes.ts:95

Returns ​

WwShapeBase<T, O>

Properties ​

displayName ​

readonly displayName: InputSignal<string | null | undefined>

Defined in: angular/src/lib/shapes.ts:74


enabled ​

readonly enabled: InputSignal<boolean | undefined>

Defined in: angular/src/lib/shapes.ts:75


highlightOnHover ​

readonly highlightOnHover: InputSignal<boolean>

Defined in: angular/src/lib/shapes.ts:79

Toggle the shape's highlight attributes while the mouse is over it.


hoverEvents ​

readonly hoverEvents: InputSignal<boolean>

Defined in: angular/src/lib/shapes.ts:81

Enable mouseEnter / mouseLeave (hover picking costs GPU time).


mouseEnter ​

readonly mouseEnter: OutputEmitterRef<PickEvent>

Defined in: angular/src/lib/shapes.ts:85


mouseLeave ​

readonly mouseLeave: OutputEmitterRef<PickEvent>

Defined in: angular/src/lib/shapes.ts:86


renderable ​

readonly renderable: WritableSignal<T | null>

Defined in: angular/src/lib/shapes.ts:89

The live WorldWind renderable, null until created.


shapeClick ​

readonly shapeClick: OutputEmitterRef<PickEvent>

Defined in: angular/src/lib/shapes.ts:83


shapeDoubleClick ​

readonly shapeDoubleClick: OutputEmitterRef<PickEvent>

Defined in: angular/src/lib/shapes.ts:84


userData ​

readonly userData: InputSignal<unknown>

Defined in: angular/src/lib/shapes.ts:77

Stored on the renderable's userProperties; comes back from picks.

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.