This reference page is linked to from the following overview topics: MotionBuilder 2014, Updated Objects.
FBVideoMemory allow external media source (which can't be supported by MoBu natively)
User could create / update OGL texture (GL_TEXTURE_2D type) externally, and pass in GL texture object id to TextureOGLId property.
See "Scripts/Samples/Video/VideoMemory.py" for usage example.
#include <fbvideo.h>
Public Member Functions | |
FBVideoMemory (const char *pName, HIObject pObject=NULL) | |
Constructor. | |
virtual void | SetObjectImageSize (int pW, int pH) |
Set image size to allow MoBu preview texture with proper dimension / aspect. | |
Public Attributes | |
FBPropertyInt | TextureOGLId |
Read Write Property: OpenGL texture buffer object id (GL_TEXTURE_2D type). |
FBVideoMemory | ( | const char * | pName, |
HIObject | pObject = NULL |
||
) |
Constructor.
pName | Name of video media. |
pObject | Internal parent object(default=NULL). |
virtual void SetObjectImageSize | ( | int | pW, |
int | pH | ||
) | [virtual] |
Set image size to allow MoBu preview texture with proper dimension / aspect.
pW | Width of image. |
pH | Height of image. |
Read Write Property: OpenGL texture buffer object id (GL_TEXTURE_2D type).