Function create

Synopsis

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

static SharedPtr create(const std::string &name, double durationInSeconds)

Description

Create a new object

Source

Lines 95-98 in Source/Falcor/Scene/Animation/Animation.cpp. Line 58 in Source/Falcor/Scene/Animation/Animation.h.

Animation::SharedPtr Animation::create(const std::string& name, double durationInSeconds)
{
    return SharedPtr(new Animation(name, durationInSeconds));
}





Add Discussion as Guest

Log in to DocsForge