Navigation
API > API/Plugins > API/Plugins/GLTFExporter > API/Plugins/GLTFExporter/UserData
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAssetUserData
- UGLTFMaterialExportOptions
References
| Module | GLTFExporter |
| Header | /Engine/Plugins/Enterprise/GLTFExporter/Source/GLTFExporter/Public/UserData/GLTFMaterialUserData.h |
| Include | #include "UserData/GLTFMaterialUserData.h" |
Syntax
UCLASS&40;BlueprintType, Meta&61;&40;DisplayName&61;"GLTF Material Export Options"&41;&41;
class UGLTFMaterialExportOptions : public UAssetUserData
Remarks
GlTF-specific user data that can be added to material assets to override export options
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGLTFOverrideMaterialBakeSettings | Default | Default bake settings for this material in general. | |
| TMap< EGLTFMaterialPropertyGroup, FGLTFOverrideMaterialBakeSettings > | Inputs | Input-specific bake settings that override the defaults above. | |
| TObjectPtr< UMaterialInterface > | Proxy | If assigned, export will use the proxy instead of the original material. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TextureFilter | GetBakeFilterForPropertyGroup
(
const UMaterialInterface* Material, |
||
| EGLTFMaterialBakeSizePOT | GetBakeSizeForPropertyGroup
(
const UMaterialInterface* Material, |
||
| TextureAddress | GetBakeTilingForPropertyGroup
(
const UMaterialInterface* Material, |
||
| const UMaterialInterface * | ResolveProxy
(
const UMaterialInterface* Material |