1 #ifndef __C_AV_SCENE_NODE_H__ 2 #define __C_AV_SCENE_NODE_H__ 7 #include "ArsaCompileConfig.h" 8 #include "ESceneNodeTypes2.h" 16 #ifndef ARSA_FRAMEWORK 135 virtual void close( );
137 virtual bool isEnd( )
const;
138 virtual void play(
bool play =
true );
140 virtual void stop( );
150 virtual bool isShow()
const {
return m_show; }
152 virtual bool draw(
bool is_forground =
true );
165 virtual bool hasVideo()
const {
return m_has_video; }
166 virtual bool hasAudio()
const {
return m_has_audio; }
207 CSceneManager2* SceneManager2;
240 #endif // __C_AV_SCENE_NODE_H__
virtual bool hasVideo() const
virtual bool isForground() const
virtual void volume(irr::f32 vol=1.0f)
Template implementation of the IMeshBuffer interface.
unsigned long long u64
64 bit unsigned variable.
virtual void setPlayTime(f32 sec)
Provides a generic interface for attributes and their values and the possibility to serialize them.
Interface providing read access to a file.
static void AV_INIT(irr::ILogger *log=0)
virtual bool isVisible() const
Returns whether the node should be visible (if all of its parents are visible).
float f32
32 bit floating point variable.
virtual void avUpdate()
user must call update function ever loop
virtual bool hasAudio() const
virtual void OnRegisterSceneNode()
Pre-Register stuff.
struct holding data describing options
The Irrlicht device. You can create it with createDevice() or createDeviceEx().
virtual irr::u64 getAudioCurrentDuration() const
Everything in the Irrlicht Engine can be found in this namespace.
Main header file of the irrlicht, the only file needed to include.
virtual void deserializeAttributes(io::IAttributes *in, io::SAttributeReadWriteOptions *options=0)
Reads attributes of the scene node.
GLfixed GLfixed GLint GLint order
virtual scene::ESCENE_NODE_TYPE getType() const
Returns type of the scene node.
Specifies a 2 dimensional size.
virtual bool seek_sec(irr::s32 sec)
Interface for software image data.
Very simple string class with some useful features.
virtual void loop(bool loop)
virtual void playback(E_PLAY_BACK pb)
virtual void setVisible(bool isVisible)
Sets if the node should be visible or not.
static void internal_volume(irr::f32 vol=1.0f)
virtual bool resize(const irr::core::dimension2di &size)
signed int s32
32 bit signed variable.
virtual bool openFromFile(const irr::core::stringc &filename, bool stream=true, const irr::core::dimension2di &size=irr::core::dimension2di(0, 0))
virtual bool isPlaying() const
virtual u32 getDrawOrder() const
virtual irr::u64 getVideoCurrentDuration() const
virtual bool isShow() const
virtual void OnAnimate(u32 timeMs)
OnAnimate() is called just before rendering the whole scene.
unsigned int u32
32 bit unsigned variable.
Interface for logging messages, warnings and errors.
virtual bool open(irr::io::IReadFile *fp, const irr::core::dimension2di &size=irr::core::dimension2di(0, 0))
virtual video::SMaterial & getMaterial(u32 i)
virtual irr::u64 getVideoEndDuration() const
virtual bool seek(u32 hh, u32 mm, u32 ss)
ESCENE_NODE_TYPE
An enumeration for all types of built-in scene nodes.
virtual irr::core::dimension2di getTextureSize()
virtual CAVSceneNode * clone(scene::ISceneNode *newParent=0, scene::ISceneManager *newSceneManager=0)
Will create a copy of this scenenode and it's settings.
The Scene Manager manages scene nodes, mesh resources, cameras and all the other stuff.
virtual video::ITexture * getTexture()
virtual void render()
Render our grid using 3D lines.
virtual void play(bool play=true)
#define MAKE_IRR_ID(c0, c1, c2, c3)
ignore VC8 warning deprecated
virtual bool draw(bool is_forground=true)
CAVSceneNode(irr::IrrlichtDevice *device, scene::ISceneNode *parent, scene::ISceneManager *smgr, arsa::CSceneManager2 *smgr2, s32 id=-1)
Constructor.
static E_PLAY_BACK getPlayback(const core::stringc &str)
Interface of a Video Driver dependent Texture.
virtual void show(bool show=true)
virtual irr::u64 getAudioEndDuration() const
virtual const core::aabbox3d< f32 > & getBoundingBox() const
Returns our bounding box.
virtual void setDrawOrder(u32 order)
virtual void serializeAttributes(io::IAttributes *out, io::SAttributeReadWriteOptions *options=0) const
Writes attributes of the scene node.
virtual void close()
close this audio
Struct for holding parameters for a material renderer.
virtual bool isEnd() const
virtual u32 getMaterialCount() const
returns amount of materials used by this scene node.
virtual void useAsTexture(bool active=true)
virtual bool seek_percent(irr::s32 percent)
const char *const sBuiltInPlayBackNames[]
virtual void useAsForground(bool active=true)