// Copyright (C) 2002-2006 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #pragma once #using using namespace System; #pragma unmanaged #include "..\\..\\include\\irrlicht.h" #pragma managed namespace Irrlicht { namespace Scene { /// /// Scene node interface. /// Animates a scene node. Can animate position, rotation, material, and so on. /// A scene node animator is able to animate a scene node in a very simple way. It may /// change its position, rotation, scale and/or material. There are lots of animators /// to choose from. You can create scene node animators with the ISceneManager interface. /// public __gc class ISceneNodeAnimator { public: /// /// Creates a scene node animator from a native C++ scene node animator. /// Don't use this, its better to create /// scene nodes using the SceneManager with its addSceneNode() methods. /// ISceneNodeAnimator(irr::scene::ISceneNodeAnimator* realSceneNode); /// Destructor ~ISceneNodeAnimator(); /// /// Animates a scene node. /// /// Node to animate. //! Current time in milli seconds. void animateNode(ISceneNode* node, int timeMs); /// /// Returns the internal pointer to the native C++ irrlicht scene node animator. /// Do not use this, only needed by the internal .NET wrapper. /// __property irr::scene::ISceneNodeAnimator* get_NativeSceneNodeAnimator(); protected: irr::scene::ISceneNodeAnimator* SceneNodeAnimator; }; } }