Function create

Synopsis

#include <Source/Falcor/Scene/Animation/AnimationController.h>

static UniquePtr create(Scene *pScene, const StaticVertexVector &staticVertexData, const DynamicVertexVector &dynamicVertexData, const std::vector< Animation::SharedPtr > &animations)

Description

Create a new object.

Returns
A new object, or throws an exception if creation failed.

Source

Lines 71-74 in Source/Falcor/Scene/Animation/AnimationController.cpp. Line 65 in Source/Falcor/Scene/Animation/AnimationController.h.

AnimationController::UniquePtr AnimationController::create(Scene* pScene, const StaticVertexVector& staticVertexData, const DynamicVertexVector& dynamicVertexData, const std::vector<Animation::SharedPtr>& animations)
{
    return UniquePtr(new AnimationController(pScene, staticVertexData, dynamicVertexData, animations));
}





Add Discussion as Guest

Log in