Skip to content
ben-sangster edited this page Oct 7, 2010 · 1 revision

Description

Functions

API

Found in "dmz/components/event"

API Constants

  • LocalityUnknown
  • Local
  • Remote
  • DefaultAttribute
  • SourceAttribute
  • TargetAttribute
  • MunititionsAttribute

API Functions

Bool release (self, [Function fnc])

Handle create (Event e, EventLocality loc)

FunctionPtr create.observe (self, Event e, Function fnc)

Bool close (Handle)

FunctionPtr close.observe (self, Event e, Function fnc)

EventType type (Handle h)

EventLocality locality (Handle h)

Handle handle (Handle event, Handle attrHandle, [Handle value])

Handle handle (Handle event, String attrHandleName, [Handle value])

ObjectType objectType (Handle event, Handle attrHandle, [String value])

ObjectType objectType (Handle event, String attrHandleName, [String value])

State state (Handle event, Handle attrHandle, [String name])

Number timeStamp (Handle event, Handle attrHandle, [Number value])

Vector position (Handle event, Handle attrHandle, [Vector value])

Matrix orientation (Handle event, Handle attrHandle, [Matrix value])

Vector velocity (Handle event, Handle attrHandle, [Vector value])

Vector acceleration (Handle event, Handle attrHandle, [Vector value])

Vector scale (Handle event, Handle attrHandle, [Vector value])

Vector vector (Handle event, Handle attrHandle, [Vector value])

Number scalar (Handle event, Handle attrHandle, [Number value])

Number counter (Handle event, Handle attrHandle, [Number value])

String text (Handle event, Handle attrHandle, [String value])

Data data (Handle event, Handle attrHandle, [Data value])

  • All of the above functions which have an optional third argument represent both "get" and "set" functions. If the third argument is specified, that value is set
Clone this wiki locally