From 7255941cf6658f7b3998667a3c21a8871c5e5301 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 24 Nov 2009 15:26:54 +0000 Subject: [PATCH] Updated wrappers --- src/osgWrappers/osgParticle/Particle.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/osgWrappers/osgParticle/Particle.cpp b/src/osgWrappers/osgParticle/Particle.cpp index f0f77d138..a027dcb3c 100644 --- a/src/osgWrappers/osgParticle/Particle.cpp +++ b/src/osgWrappers/osgParticle/Particle.cpp @@ -296,10 +296,15 @@ BEGIN_VALUE_REFLECTOR(osgParticle::Particle) __float__getCurrentSize, "Get the current (interpolated) polygon size. Valid only after the first call to update(). ", ""); - I_MethodWithDefaults3(void, setTextureTile, IN, int, sTile, , IN, int, tTile, , IN, int, numTiles, 0, + I_Method4(void, setTextureTileRange, IN, int, sTile, IN, int, tTile, IN, int, startTile, IN, int, endTile, + Properties::NON_VIRTUAL, + __void__setTextureTileRange__int__int__int__int, + "Specify how the particle texture is tiled. ", + "All tiles in the given range are sequentially displayed during the lifetime of the particle. When no range is given, all tiles are displayed during the lifetime. "); + I_MethodWithDefaults3(void, setTextureTile, IN, int, sTile, , IN, int, tTile, , IN, int, end, -1, Properties::NON_VIRTUAL, __void__setTextureTile__int__int__int, - "Specify how the particle texture is tiled. ", + "Same as above, range starts at 0 and ends at end. ", ""); I_Method1(void, setPreviousParticle, IN, int, previous, Properties::NON_VIRTUAL,