Public Member Functions | Public Attributes

FBVideoMemory Class Reference

This reference page is linked to from the following overview topics: MotionBuilder 2014, Updated Objects.


Search for all occurrences

Detailed Description

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.

Definition at line 293 of file fbvideo.h.

#include <fbvideo.h>

Inheritance diagram for FBVideoMemory:
Inheritance graph
[legend]

List of all members.

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).

Constructor & Destructor Documentation

FBVideoMemory ( const char *  pName,
HIObject  pObject = NULL 
)

Constructor.

Parameters:
pNameName of video media.
pObjectInternal parent object(default=NULL).

Member Function Documentation

virtual void SetObjectImageSize ( int  pW,
int  pH 
) [virtual]

Set image size to allow MoBu preview texture with proper dimension / aspect.

Parameters:
pWWidth of image.
pHHeight of image.

Member Data Documentation

Read Write Property: OpenGL texture buffer object id (GL_TEXTURE_2D type).

Definition at line 308 of file fbvideo.h.


The documentation for this class was generated from the following file:

FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory
FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory FBVideoMemory