Function setPosition

Synopsis

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

void setPosition(const float3 &posW)

Description

Set the camera's world space position.

Source

Lines 142-142 in Source/Falcor/Scene/Camera/Camera.h.

void setPosition(const float3& posW) { mData.posW = posW; mDirty = true; }





Add Discussion as Guest

Log in to DocsForge