Support Forum       G3D Web Page     
Public Types | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
G3D::XR::Event Class Reference

We don't provide motion or button events because those are polled directly from the trackedObjectArray(). More...

Public Types

enum  Type {
  OBJECT_CREATED,
  OBJECT_DESTROYED
}
 

Static Public Member Functions

static shared_ptr< Eventcreate (Type t, const shared_ptr< Object > &obj)
 

Public Attributes

shared_ptr< Objectobject
 
Type type
 

Protected Member Functions

 Event (Type t, const shared_ptr< Object > &obj)
 

Detailed Description

We don't provide motion or button events because those are polled directly from the trackedObjectArray().

See also
GEvent

Member Enumeration Documentation

◆ Type

Enumerator
OBJECT_CREATED 
OBJECT_DESTROYED 

Constructor & Destructor Documentation

◆ Event()

G3D::XR::Event::Event ( Type  t,
const shared_ptr< Object > &  obj 
)
inlineprotected

Member Function Documentation

◆ create()

static shared_ptr<Event> G3D::XR::Event::create ( Type  t,
const shared_ptr< Object > &  obj 
)
inlinestatic

Member Data Documentation

◆ object

shared_ptr<Object> G3D::XR::Event::object

◆ type

Type G3D::XR::Event::type

documentation generated on Wed Nov 24 2021 08:02:02 using doxygen 1.8.15