Navigation
API > API/Plugins > API/Plugins/InterchangeFactoryNodes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangeBaseNode
- UInterchangeFactoryBaseNode
- UInterchangeTextureFactoryNode
- UInterchangeTexture2DFactoryNode
- UInterchangeTextureLightProfileFactoryNode
References
| Module | InterchangeFactoryNodes |
| Header | /Engine/Plugins/Interchange/Runtime/Source/FactoryNodes/Public/InterchangeTexture2DFactoryNode.h |
| Include | #include "InterchangeTexture2DFactoryNode.h" |
Syntax
UCLASS&40;BlueprintType, Experimental&41;
class UInterchangeTexture2DFactoryNode : public UInterchangeTextureFactoryNode
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetCustomAddressX
(
TEnumAsByte< TextureAddress >& AttributeValue |
Return false if the Attribute was not set previously. | |
| bool | GetCustomAddressY
(
TEnumAsByte< TextureAddress >& AttributeValue |
Return false if the Attribute was not set previously. | |
| bool | GetSourceBlock
(
int32 BlockIndex, |
Get a source block from the texture | |
| bool | GetSourceBlockByCoordinates
(
int32 X, |
Get a source block from the texture | |
| TMap< int32, FString > | UDIMs begin here UDIM base texture use a different model for the source data Get the source blocks for the texture If the map is empty then the texture will be simply be imported as normal texture using the payload key | ||
| bool | SetCustomAddressX
(
const TEnumAsByte< TextureAddress > AttributeValue, |
||
| bool | SetCustomAddressY
(
const TEnumAsByte< TextureAddress > AttributeValue, |
||
| void | SetSourceBlock
(
int32 BlockIndex, |
Set a source block for the texture | |
| void | SetSourceBlockByCoordinates
(
int32 X, |
Set a source block for the texture | |
| void | SetSourceBlocks
(
const TMap< int32, FString >& InSourceBlocks |
Set the source blocks Using this will suggest the pipeline to consider this texture as UDIM and it can chose to pass or not these block to the texture factory node. | |
| void | SetSourceBlocks
(
TMap< int32, FString >&& InSourceBlocks |
Set the source blocks Using this will suggest the pipeline to consider this texture as UDIM and it can chose to pass or not these block to the texture factory node. |
Overridden from UInterchangeFactoryBaseNode
| Type | Name | Description | |
|---|---|---|---|
| void | CopyWithObject
(
const UInterchangeFactoryBaseNode* SourceNode, |
Copies all the attributes from SourceNode to this node. | |
| UClass * | UDIMs ends here. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | Override serialize to restore SourceBlocks on load. |