API Reference > OdBcf Namespace > Classes > OdBcfPerspectiveCamera Class > OdBcfPerspectiveCamera Methods > OdBcfPerspectiveCamera::createObject Method
OdBcfPerspectiveCamera::createObject Method
Syntax
C++
static OdSmartPtr<OdBcfPerspectiveCamera> createObject(const OdBcfPointPtr & pCameraViewPoint, const OdBcfDirectionPtr & pCameraDirection, const OdBcfDirectionPtr & pCameraUpVector, double fieldOfView);
Parameters 
Description 
const OdBcfPointPtr & pCameraViewPoint 
[in] A smart pointer to the object that represents the camera's view point.  
const OdBcfDirectionPtr & pCameraDirection 
[in] A smart pointer to the object that represents the camera direction.  
const OdBcfDirectionPtr & pCameraUpVector 
[in] A smart pointer to the object that represents the camera's up vector.  
double fieldOfView 
[in] A value of the camera field of view.  

A smart pointer to the created OdBcfPerspectiveCamera instance.

Creates a new perspective camera object.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.