Options
Menu

Class ElementsEvent

Dispatched to notify changes in a sub geometry object's state.

class

away.events.ElementsEvent

see

away.core.base.Graphics

Hierarchy

  • EventBase

Index

Constructors

constructor

  • new ElementsEvent(type: string, attributesView: AttributesView): ElementsEvent
  • Create a new GraphicsEvent

    Parameters

    • type: string

      The event type.

    • attributesView: AttributesView

      An optional data type of the vertex data being updated.

    Returns ElementsEvent

Properties

target

target: any

Reference to target object

property

target

type

Object

type

type: string

Type of event

property

type

type

String

Static CLEAR_INDICES

CLEAR_INDICES: string

Dispatched when a Elements's index data has been disposed.

Static CLEAR_VERTICES

CLEAR_VERTICES: string

Dispatched when a Elements's vertex data has been disposed.

Static INVALIDATE_INDICES

INVALIDATE_INDICES: string

Dispatched when a Elements's index data has been updated.

Static INVALIDATE_VERTICES

INVALIDATE_VERTICES: string

Dispatched when a Elements's vertex data has been updated.

Accessors

attributesView

  • get (): AttributesView
  • The attributes view of the vertex data.

    Returns AttributesView

Methods

clone

  • Clones the event.

    Returns ElementsEvent

    An exact duplicate of the current object.

Generated using TypeDoc