Options
Menu

Class ShapeEvent

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

class

away.events.ShapeEvent

see

away.core.base.Graphics

Hierarchy

  • EventBase

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Create a new GraphicsEvent

    Parameters

    • type: string

      The event type.

    • shape: Shape

    Returns ShapeEvent

Properties

target

target: any

Reference to target object

property

target

type

Object

type

type: string

Type of event

property

type

type

String

Static ADD_MATERIAL

ADD_MATERIAL: string

Dispatched when a Renderable has been updated.

Static REMOVE_MATERIAL

REMOVE_MATERIAL: string

Dispatched when a Renderable has been updated.

Accessors

shape

  • The renderobject owner of the renderable owner.

    Returns Shape

Methods

clone

  • Clones the event.

    Returns ShapeEvent

    An exact duplicate of the current object.

Generated using TypeDoc