Sha256: a8960e10a6fac0952b9793132d6502e35546ef2fd4d6ca24acae4b1c36abecf9

Contents?: true

Size: 874 Bytes

Versions: 5

Compression:

Stored size: 874 Bytes

Contents

%{
#include <OgreAnimationState.h>
%}

%feature("valuewrapper") Ogre::SceneManager::AnimationIterator;
class Ogre::SceneManager::AnimationIterator;
%feature("valuewrapper") Ogre::AnimationStateIterator;
class Ogre::AnimationStateIterator;
%feature("valuewrapper") Ogre::ConstAnimationStateIterator;
class Ogre::ConstAnimationStateIterator;
%feature("valuewrapper") Ogre::ConstEnabledAnimationStateIterator;
class Ogre::ConstEnabledAnimationStateIterator;

%extend Ogre::AnimationStateSet {
	void each_AnimationState() {
		VALUE vstate = Qnil;
		Ogre::AnimationStateIterator iter = self->getAnimationStateIterator();
		while (iter.hasMoreElements()) {
			Ogre::AnimationState* state = iter.getNext();
			vstate = SWIG_NewPointerObj(SWIG_as_voidptr(state), SWIGTYPE_p_Ogre__AnimationState, 0 |  0 );
			rb_yield_values(1, vstate);
		}
	}
}



%include OgreAnimationState.h



Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-ogre-0.0.5-x86-linux bindings/ogre/interface/OgreAnimationState.i
ruby-ogre-0.0.4-x86-linux bindings/ogre/interface/OgreAnimationState.i
ruby-ogre-0.0.3-x86-linux bindings/ogre/interface/OgreAnimationState.i
ruby-ogre-0.0.2-x86-linux bindings/ogre/interface/OgreAnimationState.i
ruby-ogre-0.0.1-x86-linux bindings/ogre/interface/OgreAnimationState.i