From fd76b4f87b6d75e04651cfe5ad98382d05f02bc9 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 17 Mar 2006 22:25:32 +0000 Subject: [PATCH] Updated wrappers. --- src/osgWrappers/osgGA/EventQueue.cpp | 1 + src/osgWrappers/osgParticle/Particle.cpp | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/osgWrappers/osgGA/EventQueue.cpp b/src/osgWrappers/osgGA/EventQueue.cpp index 33eca643f..edf0eb683 100644 --- a/src/osgWrappers/osgGA/EventQueue.cpp +++ b/src/osgWrappers/osgGA/EventQueue.cpp @@ -43,6 +43,7 @@ BEGIN_OBJECT_REFLECTOR(osgGA::EventQueue) I_Method1(void, setStartTick, IN, osg::Timer_t, tick); I_Method0(osg::Timer_t, getStartTick); I_Method0(double, getTime); + I_Method0(osgGA::GUIEventAdapter *, createEvent); I_Method0(osgGA::GUIEventAdapter *, getCurrentEventState); I_Method0(const osgGA::GUIEventAdapter *, getCurrentEventState); I_ReadOnlyProperty(osgGA::GUIEventAdapter *, CurrentEventState); diff --git a/src/osgWrappers/osgParticle/Particle.cpp b/src/osgWrappers/osgParticle/Particle.cpp index 2672110c4..95f4af02a 100644 --- a/src/osgWrappers/osgParticle/Particle.cpp +++ b/src/osgWrappers/osgParticle/Particle.cpp @@ -59,6 +59,9 @@ BEGIN_VALUE_REFLECTOR(osgParticle::Particle) I_Method0(float, getCurrentAlpha); I_Method0(const float, getSTexCoord); I_Method0(float, getTCoord); + I_Method0(int, getTileS); + I_Method0(int, getTileT); + I_Method0(int, getNumTiles); I_Method0(void, kill); I_Method1(void, setLifeTime, IN, double, t); I_Method1(void, setSizeRange, IN, const osgParticle::rangef &, r); @@ -113,6 +116,8 @@ BEGIN_VALUE_REFLECTOR(osgParticle::Particle) I_WriteOnlyProperty(osgParticle::Interpolator *, SizeInterpolator); I_Property(const osgParticle::rangef &, SizeRange); I_ReadOnlyProperty(float, TCoord); + I_ReadOnlyProperty(int, TileS); + I_ReadOnlyProperty(int, TileT); I_WriteOnlyProperty(osgParticle::ParticleSystem *, UpTexCoordsAsPartOfConnectedParticleSystem); I_Property(const osg::Vec3 &, Velocity); END_REFLECTOR