Function create

Synopsis

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

static SharedPtr create(const std::string &name="")

Description

Create a new camera object.

Source

Lines 55-58 in Source/Falcor/Scene/Camera/Camera.cpp. Line 54 in Source/Falcor/Scene/Camera/Camera.h.

Camera::SharedPtr Camera::create(const std::string& name)
{
    return SharedPtr(new Camera(name));
}





Add Discussion as Guest

Log in