Skip to content

Instantly share code, notes, and snippets.

@Neill3d Neill3d/gist:8177642
Created Dec 30, 2013

Embed
What would you like to do?
Take care about model pointer in OR SDK (MotionBuilder)
//
// 1 - desclare pointer to a model with special class
//
HdlFBPlugTemplate<FBModel> mHdlModel;
//
// 2 - use it and check if pointer is actual
//
mHdlModel = new FBModelPlane("Tool_Template Model");
if( mHdlModel.Ok() )
{
mHdlModel->Show = false;
}
// Delete model
if( mHdlModel.Ok() )
{
mHdlModel->FBDelete();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.