Jump to content

Search the Community

Showing results for tags 'AmbientSource'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 2 results

  1. Hi The sounds is not playing, why ? What wrong with the following code? init() { setUpScreen(); } void setUpScreen() { gameRunVideoBground = new WidgetSpriteVideo(gui, engine.getDataPath() + "videos/gamebackground/" + gamebackgroundVids[videoNumberGameBg]); gameRunVideoBground.addLayer(); gameRunVideoBground.setOrder(1); gui.addChild(gameRunVideoBground,GUI_ALIGN_EXPAND); gameRunSoundBground = new AmbientSource(engine.getDataPath() + "videos/gamebackground/" + gamebackgroundVids[videoNumberGameBg]); gameRunVideoBground.setAmbientSource(gameRunSoundBground); } then in update update() { if(gameRunVideoBground != NULL && gameRunVideoBground.isPlaying() == 0 && state == 3 && state3Played == 1) { gameRunVideoBground.setVideoTime(0.01f); gameRunSoundBground.setLoop(1); gameRunSoundBground.play(); gameRunVideoBground.play(); }
  2. Hi guys, I want to store object/instance of an "AmbientSource" Class on CPP side to track all objects on CPP side. We are saving all objects/instances of "Node" class on CPP side using "Unigine::Variable", is it possible to use same for "AmbientSource" Class ? Thanks rakeshj.
×
×
  • Create New...