UDatasmithCameraActorElement

[UDatasmithCameraActorElement](API\Plugins\DatasmithImporter\ObjectElements\UDatasmithCameraActorElement)

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h

Include

#include "ObjectElements/DatasmithUObjectElements.h"

Syntax

UCLASS()
class UDatasmithCameraActorElement : public UDatasmithActorElement

Remarks

Functions

Name Description

Public function Const

TWeakPtr< ID...

 

GetDatasmithCameraActorElement()

Public function Const UFunction BlueprintCallable, Category

float

 

GetFocalLength()

Get camera focal length in millimeters

Public function Const UFunction BlueprintCallable, Category

float

 

GetFocusDistance()

Get camera focus distance in centimeters

Public function Const UFunction BlueprintCallable, Category

float

 

GetFStop()

Get camera FStop also known as FNumber

Public function Const UFunction BlueprintCallable, Category

FString

 

GetLookAtActor()

Get camera look at actor name

Public function Const UFunction BlueprintCallable, Category

bool

 

GetLookAtAllowRoll()

Get camera look at allow roll state

Public function UFunction BlueprintCallable, Category

UDatasmithPo...

 

GetPostProcess()

Get camera's postprocess

Public function Const UFunction BlueprintCallable, Category

float

 

GetSensorAspectRatio()

Get framebuffer aspect ratio (width/height)

Public function Const UFunction BlueprintCallable, Category

float

 

GetSensorWidth()

Get camera sensor width in millimeters

Public function

void

 

SetDatasmithCameraActorElement

(
    const TSharedPtr< IDatasmithCameraA...
)

Public function UFunction BlueprintCallable, Category

void

 

SetFocalLength

(
    float FocalLength
)

Set camera focal length in millimeters

Public function UFunction BlueprintCallable, Category

void

 

SetFocusDistance

(
    float FocusDistance
)

Set camera focus distance in centimeters

Public function UFunction BlueprintCallable, Category

void

 

SetFStop

(
    float FStop
)

Set camera FStop also known as FNumber

Public function UFunction BlueprintCallable, Category

void

 

SetLookAtActor

(
    const FString& ActorPathName
)

Set camera look at actor name

Public function UFunction BlueprintCallable, Category

void

 

SetLookAtAllowRoll

(
    bool bAllow
)

Set camera look at allow roll state

Public function UFunction BlueprintCallable, Category

void

 

SetSensorAspectRatio

(
    float SensorAspectRatio
)

Set framebuffer aspect ratio (width/height)

Public function UFunction BlueprintCallable, Category

void

 

SetSensorWidth

(
    float SensorWidth
)

Set camera sensor width in millimeters

Overridden from UDatasmithActorElement

Name Description

Public function Virtual Const

TWeakPtr< ID...

 

GetIDatasmithActorElement()

Overridden from UDatasmithObjectElement

Name Description

Public function Virtual Const

TWeakPtr< ID...

 

GetIDatasmithElement()

TODO: They are not covariant because of the TWeakPtr, can't override in child.

Public function Virtual Const

bool

 

IsElementValid()

Is the Element still valid for the Datasmith Scene