Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/ObjectElements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDatasmithObjectElement
- UDatasmithTextureElement
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h |
| Include | #include "ObjectElements/DatasmithUObjectElements.h" |
Syntax
UCLASS&40;&41;
class UDatasmithTextureElement : public UDatasmithObjectElement
Remarks
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Get allow texture resizing | ||
| EDatasmithColorSpace | Gets the color space of the texture | ||
| TWeakPtr< IDatasmithTextureElement > | |||
| FString | GetFile () |
Get texture filename | |
| float | GetRGBCurve () |
Get texture gamma <= 0 for auto | |
| EDatasmithTextureMode | Get texture usage | ||
| void | SetAllowResize
(
bool bAllowResize |
Set allow texture resizing | |
| void | SetColorSpace
(
EDatasmithColorSpace Option |
Sets the color space of the texture | |
| void | SetDatasmithTextureElement
(
const TSharedPtr< IDatasmithTextureElement >& InElement |
||
| void | Set texture filename | ||
| void | SetRGBCurve
(
float InRGBCurve |
Set texture gamma <= 0 for auto | |
| void | SetTextureMode
(
EDatasmithTextureMode Mode |
Set texture usage |
Overridden from UDatasmithObjectElement
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< IDatasmithElement > | TODO: They are not covariant because of the TWeakPtr, can't override in child. | ||
| bool | Is the Element still valid for the Datasmith Scene |