Navigation
API > API/Developer > API/Developer/DatasmithFacade
Datasmith facade.
| Name | FDatasmithFacadeActorCamera |
| Type | class |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithFacade/Public/DatasmithFacadeActorCamera.h |
| Include Path | #include "DatasmithFacadeActorCamera.h" |
Syntax
class FDatasmithFacadeActorCamera : public FDatasmithFacadeActor
Inheritance Hierarchy
- FDatasmithFacadeElement → FDatasmithFacadeActor → FDatasmithFacadeActorCamera
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithFacadeActorCamera
(
const TSharedRef< IDatasmithCameraActorElement >& InInternalElement |
DatasmithFacadeActorCamera.h | ||
FDatasmithFacadeActorCamera
(
const TCHAR* InElementName |
DatasmithFacadeActorCamera.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDatasmithFacadeActorCamera() |
DatasmithFacadeActorCamera.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetAspectRatio() |
Get Datasmith camera aspect ratio (width/height) | DatasmithFacadeActorCamera.h | |
TSharedRef< IDatasmithCameraActorElement > GetDatasmithActorCameraElement() |
DatasmithFacadeActorCamera.h | ||
bool GetEnableDepthOfField() |
The focus method of the camera, either None (no DoF) or Manual | DatasmithFacadeActorCamera.h | |
float GetFocalLength() |
Get camera focal length in millimeters | DatasmithFacadeActorCamera.h | |
float GetFocusDistance() |
Get camera focus distance | DatasmithFacadeActorCamera.h | |
float GetFStop() |
Get camera FStop also known as FNumber | DatasmithFacadeActorCamera.h | |
const TCHAR * GetLookAtActor() |
Get the Datasmith camera look-at actor. | DatasmithFacadeActorCamera.h | |
bool GetLookAtAllowRoll() |
Get the Datasmith camera look-at actor. | DatasmithFacadeActorCamera.h | |
float GetSensorWidth() |
Get camera sensor width | DatasmithFacadeActorCamera.h | |
void SetAspectRatio
(
float InAspectRatio |
Set the aspect ratio of the Datasmith camera. | DatasmithFacadeActorCamera.h | |
void SetCameraPosition
(
double InX, |
Set the world position of the Datasmith camera actor. | DatasmithFacadeActorCamera.h | |
void SetCameraRotation
(
double InForwardX, |
Set the world rotation of the Datasmith camera actor with the camera world forward and up directions. | DatasmithFacadeActorCamera.h | |
void SetEnableDepthOfField
(
bool bInEnableDepthOfField |
The focus method of the camera, either None (no DoF) or Manual | DatasmithFacadeActorCamera.h | |
void SetFocalLength
(
float InFocalLength |
Set the Datasmith camera focal length. | DatasmithFacadeActorCamera.h | |
void SetFocalLength
(
float InFOV, |
Set the Datasmith camera focal length. | DatasmithFacadeActorCamera.h | |
void SetFocusDistance
(
float InFocusDistance |
Set the Datasmith camera focus distance. | DatasmithFacadeActorCamera.h | |
void SetFocusDistance
(
float InTargetX, |
Set the Datasmith camera focus distance with the current camera world position and a target world position. | DatasmithFacadeActorCamera.h | |
void SetFStop
(
float InFStop |
Set camera FStop also known as FNumber | DatasmithFacadeActorCamera.h | |
void SetLookAtActor
(
const TCHAR* InActorName |
Set the Datasmith camera look-at actor. | DatasmithFacadeActorCamera.h | |
void SetLookAtAllowRoll
(
bool bInAllow |
Set the Datasmith camera look-at roll allowed state. | DatasmithFacadeActorCamera.h | |
void SetSensorWidth
(
float InSensorWidth |
Set the sensor width of the Datasmith camera. | DatasmithFacadeActorCamera.h |