// 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 #include "ISceneNode.h" namespace Irrlicht { namespace Scene { /// /// A billboard is like a 3d sprite: A 2d element, /// which always looks to the camera. It is usually used for explosions, fire, /// lensflares, particles and things like that. /// public __gc class IBillboardSceneNode : public ISceneNode { public: /// /// Creates a billboard scene node from a native C++ scene node. Don't use this, its better to create /// scene nodes using the SceneManager with its addSceneNode() methods. /// IBillboardSceneNode(irr::scene::IBillboardSceneNode* realSceneNode); /// /// Sets or gets the size of the billboard. /// __property Core::Dimension2Df get_Size(); /// /// Sets or gets the size of the billboard. /// __property void set_Size(Core::Dimension2Df dim); protected: inline irr::scene::IBillboardSceneNode* getBillBoardSceneNode() { return (irr::scene::IBillboardSceneNode*)SceneNode; } }; } }