Graphics

 View Only
  • 1.  Playing a single videofile on the Scene Director through API

    Posted 02-20-2015 19:51
    Hi,

    I have a number of videofiles which are all placed on different tracks on the Scene Director.

    Using the API, I'm trying to play one individual videofile in the same was as I'm able to play a single Animation Controller. However; I don't have any VideoFile-object available to me to reference that Videofile to be able to play it.

    The xpSceneDirectorClip allows me to get the videofile but it doesn't allow me to play the file.

    So is there a way to link to a videofile on the Scene Director or do I have to put every single video in a separate Scene Director and play it through the Scene Director?

    Cheers,

    Kenneth


  • 2.  RE: Playing a single videofile on the Scene Director through API

    Posted 02-20-2015 19:54
    If you want to play the video files independently, you can get the xpMaterial that holds the video and do Material.Play. This probably only works if the material isn't actually on the scene director though. If the video material is on the scene director then the overall scene director position would be in control of the video playback.

    #XPression


  • 3.  RE: Playing a single videofile on the Scene Director through API

    Posted 02-20-2015 20:03
    Aha!

    I never even noticed that the xpMaterial had Play-functionality...

    Thanks Brian!

    #XPression