Navigation
Unreal Engine C++ API Reference > Runtime > DatasmithCore
Inheritance Hierarchy
- ISceneGraphNode
- IDatasmithElement
- IDatasmithTextureElement
References
Module | DatasmithCore |
Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
Include | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithTextureElement : public IDatasmithElement
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Get allow texture resizing | |
![]() ![]() |
const uint8 * | GetData
(
uint32& OutDataSize, |
Return the optional data, if loading from memory. Must be callable from any thread. |
![]() ![]() |
const TCHAR * | GetFile () |
Get texture filename |
![]() ![]() |
FMD5Hash | GetFileHash () |
Return a MD5 hash of the content of the Texture Element. |
![]() ![]() |
float | GetRGBCurve () |
Get texture gamma <= 0 for auto |
![]() ![]() |
EDatasmithColorSpace | GetSRGB () |
Gets the color space of the texture |
![]() ![]() |
EDatasmithTextureAddress | Get texture X axis address mode | |
![]() ![]() |
EDatasmithTextureAddress | Get texture Y axis address mode | |
![]() ![]() |
EDatasmithTextureFilter | Get texture filter | |
![]() ![]() |
EDatasmithTextureMode | Get texture usage | |
![]() |
void | SetAllowResize
(
bool bAllowResize |
Set allow texture resizing |
![]() |
void | SetData
(
const uint8* InData, |
Set the output data buffer, used only when no output filename is set |
![]() |
void | SetFile
(
const TCHAR* File |
Set texture filename |
![]() |
void | SetFileHash
(
FMD5Hash Hash |
Set the MD5 hash of the current texture file. This should be a hash of its content. |
![]() |
void | SetRGBCurve
(
const float InRGBCurve |
Set texture gamma <= 0 for auto |
![]() |
void | SetSRGB
(
EDatasmithColorSpace Option |
Sets the color space of the texture |
![]() |
void | SetTextureAddressX
(
EDatasmithTextureAddress Mode |
Set texture X axis address mode |
![]() |
void | SetTextureAddressY
(
EDatasmithTextureAddress Mode |
Set texture Y axis address mode |
![]() |
void | SetTextureFilter
(
EDatasmithTextureFilter Filter |
Set texture filter |
![]() |
void | SetTextureMode
(
EDatasmithTextureMode Mode |
Set texture usage |