UDatasmithTextureElement

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

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 UDatasmithTextureElement : public UDatasmithObjectElement

Remarks

Functions

Name Description

Public function Const UFunction BlueprintCallable, Category

bool

 

GetAllowResize()

Get allow texture resizing

Public function Const UFunction BlueprintCallable, Category

EDatasmithCo...

 

GetColorSpace()

Gets the color space of the texture

Public function Const

TWeakPtr< ID...

 

GetDatasmithTextureElement()

Public function Const UFunction BlueprintCallable, Category

FString

 

GetFile()

Get texture filename

Public function Const UFunction BlueprintCallable, Category

float

 

GetRGBCurve()

Get texture gamma <= 0 for auto

Public function Const UFunction BlueprintCallable, Category

EDatasmithTe...

 

GetTextureMode()

Get texture usage

Public function UFunction BlueprintCallable, Category

void

 

SetAllowResize

(
    bool bAllowResize
)

Set allow texture resizing

Public function UFunction BlueprintCallable, Category

void

 

SetColorSpace

(
    EDatasmithColorSpace Option
)

Sets the color space of the texture

Public function

void

 

SetDatasmithTextureElement

(
    const TSharedPtr< IDatasmithTexture...
)

Public function UFunction BlueprintCallable, Category

void

 

SetFile

(
    const FString& File
)

Set texture filename

Public function UFunction BlueprintCallable, Category

void

 

SetRGBCurve

(
    float InRGBCurve
)

Set texture gamma <= 0 for auto

Public function UFunction BlueprintCallable, Category

void

 

SetTextureMode

(
    EDatasmithTextureMode Mode
)

Set texture usage

Overridden from UDatasmithObjectElement

Name Description

Protected 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