IDatasmithCameraActorElement

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h

Include

#include "IDatasmithSceneElements.h"

Syntax

class IDatasmithCameraActorElement : public IDatasmithActorElement

Destructors

Functions

Name Description

Public function Const

bool

 

GetEnableDepthOfField()

The focus method of the camera, either None (no DoF) or Manual

Public function Const

float

 

GetFocalLength()

Get camera focal length in millimeters

Public function Const

float

 

GetFocusDistance()

Get camera focus distance in centimeters

Public function Const

float

 

GetFStop()

Get camera FStop also known as FNumber

Public function Const

const TCHAR ...

 

GetLookAtActor()

Get camera look at actor name

Public function Const

bool

 

GetLookAtAllowRoll()

Get camera look at allow roll state

Public function

TSharedPtr< ...

 

GetPostProcess()

Get camera's postprocess

Public function Const

const TShare...

 

GetPostProcess()

Get camera's postprocess

Public function Const

float

 

GetSensorAspectRatio()

Get framebuffer aspect ratio (width/height)

Public function Const

float

 

GetSensorWidth()

Get camera sensor width in millimeters

Public function

void

 

SetEnableDepthOfField

(
    bool bEnableDepthOfField
)

The focus method of the camera, either None (no DoF) or Manual

Public function

void

 

SetFocalLength

(
    float FocalLength
)

Set camera focal length in millimeters

Public function

void

 

SetFocusDistance

(
    float FocusDistance
)

Set camera focus distance in centimeters

Public function

void

 

SetFStop

(
    float FStop
)

Set camera FStop also known as FNumber

Public function

void

 

SetLookAtActor

(
    const TCHAR* ActorName
)

Set camera look at actor name

Public function

void

 

SetLookAtAllowRoll

(
    bool bAllow
)

Set camera look at allow roll state

Public function

void

 

SetPostProcess

(
    const TSharedPtr< IDatasmithPostPro...
)

Set camera's postprocess

Public function

void

 

SetSensorAspectRatio

(
    float SensorAspectRatio
)

Set framebuffer aspect ratio (width/height)

Public function

void

 

SetSensorWidth

(
    float SensorWidth
)

Set camera sensor width in millimeters