Navigation
API > API/Runtime > API/Runtime/InterchangeCore > API/Runtime/InterchangeCore/Nodes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangeBaseNode
- UInterchangeFactoryBaseNode
- UInterchangeActorFactoryNode
- UInterchangeBaseLightFactoryNode
- UInterchangeDirectionalLightFactoryNode
- UInterchangeLightFactoryNode
- UInterchangePointLightFactoryNode
- UInterchangeSpotLightFactoryNode
- UInterchangeRectLightFactoryNode
- UInterchangeDatasmithAreaLightFactoryNode
- UInterchangeMeshActorFactoryNode
- UInterchangePhysicalCameraFactoryNode
- UInterchangeStandardCameraFactoryNode
- UInterchangeAnimationTrackSetFactoryNode
- UInterchangeAnimSequenceFactoryNode
- UInterchangeBaseMaterialFactoryNode
- UInterchangeMaterialFactoryNode
- UInterchangeMaterialFunctionFactoryNode
- UInterchangeMaterialInstanceFactoryNode
- UInterchangeCommonPipelineDataFactoryNode
- UInterchangeDatasmithSceneFactoryNode
- UInterchangeMaterialExpressionFactoryNode
- UInterchangeMaterialFunctionCallExpressionFactoryNode
- UInterchangeMeshFactoryNode
- UInterchangeSkeletalMeshFactoryNode
- UInterchangeStaticMeshFactoryNode
- UInterchangePhysicsAssetFactoryNode
- UInterchangeSceneImportAssetFactoryNode
- UInterchangeSceneVariantSetsFactoryNode
- UInterchangeSkeletalMeshLodDataNode
- UInterchangeSkeletonFactoryNode
- UInterchangeStaticMeshLodDataNode
- UInterchangeTextureFactoryNode
- UInterchangeTexture2DArrayFactoryNode
- UInterchangeTexture2DFactoryNode
- UInterchangeTextureLightProfileFactoryNode
- UInterchangeTextureCubeArrayFactoryNode
- UInterchangeTextureCubeFactoryNode
- UInterchangeVolumeTextureFactoryNode
References
| Module | InterchangeCore |
| Header | /Engine/Source/Runtime/Interchange/Core/Public/Nodes/InterchangeFactoryBaseNode.h |
| Include | #include "Nodes/InterchangeFactoryBaseNode.h" |
Syntax
class UInterchangeFactoryBaseNode : public UInterchangeBaseNode
Remarks
This struct is used to store and retrieve key value attributes. The attributes are store in a generic FAttributeStorage which serialize the value in a TArray64
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< UClass *, TArray< UE::Interchange::FApplyAttributeToAsset > > | ApplyCustomAttributeDelegates | This array hold the delegate to apply the attribute that has to be set on an UObject | |
| UE::Interchange::TArrayAttributeHelper< FString > | FactoryDependencies | Those dependencies are use by the interchange parsing task to make sure the asset are created in the correct order. | |
| TMap< UClass *, TArray< UE::Interchange::FFillAttributeToAsset > > | FillCustomAttributeDelegates |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddApplyAndFillDelegates
(
const FString& NodeAttributeKey, |
Adds the delegates that will read and write the attribute value to a UObject. | |
| bool | AddFactoryDependencyUid
(
const FString& DependencyUid |
Add one dependency to this object. | |
| void | ApplyAllCustomAttributeToObject
(
UObject* Object |
Each Attribute that was set and have a delegate set for the specified UObject->UClass will get the delegate execute so it apply the attribute to the UObject property. | |
| bool | ApplyAttributeToObject
(
const FString& NodeAttributeKey, |
Specialized version of ApplyAttributeToObject for bools. | |
| bool | ApplyAttributeToObject
(
const FString& NodeAttributeKey, |
Specialized version of ApplyAttributeToObject for strings. | |
| bool | ApplyAttributeToObject
(
const FString& NodeAttributeKey, |
Writes an attribute value to a UObject. | |
| FString | BuildFactoryNodeUid
(
const FString& TranslatedNodeUid |
||
| void | CopyWithObject
(
const UInterchangeFactoryBaseNode* SourceNode, |
Copies all the attributes from SourceNode to this node. | |
| UInterchangeFactoryBaseNode * | DuplicateWithObject
(
const UInterchangeFactoryBaseNode* SourceNode, |
Copies all the custom attributes from SourceNode to this node and gets the appropriate values from Object. | |
| void | FillAllCustomAttributeFromObject
(
UObject* Object |
||
| bool | FillAttributeFromObject
(
const FString& NodeAttributeKey, |
Reads an attribute value from a UObject. | |
| bool | FillAttributeFromObject
(
const FString& NodeAttributeKey, |
Specialized version of FillAttributeFromObject for strings. | |
| bool | FillAttributeFromObject
(
const FString& NodeAttributeKey, |
Specialized version of FillAttributeFromObject for bools. | |
| bool | GetCustomReferenceObject
(
FSoftObjectPath& AttributeValue |
Return the custom ReferenceObject. | |
| bool | GetCustomSubPath
(
FString& AttributeValue |
Return the custom sub-path under PackageBasePath, where the assets will be created. | |
| void | GetFactoryDependencies
(
TArray< FString >& OutDependencies |
This function allow to retrieve the dependency for this object. | |
| int32 | This function allow to retrieve the number of factory dependencies for this object. | ||
| void | GetFactoryDependency
(
const int32 Index, |
This function allow to retrieve one dependency for this object. | |
| UClass * | Return the UClass of the object we represent so we can find factory/writer | ||
| EReimportStrategyFlags | Return the reimport strategy flags. | ||
| bool | RemoveFactoryDependencyUid
(
const FString& DependencyUid |
Remove one dependency from this object. | |
| bool | SetCustomReferenceObject
(
const FSoftObjectPath& AttributeValue |
Set the custom ReferenceObject. | |
| bool | SetCustomSubPath
(
const FString& AttributeValue |
Set the custom sub-path under PackageBasePath where the assets will be created. | |
| bool | Allow the creation of the unreal object even if it has been previously deleted in the editor. | ||
| bool | SetReimportStrategyFlags
(
const EReimportStrategyFlags& ReimportStrategyFlags |
Change the reimport strategy flags. | |
| bool | Add the skip node attribute. | ||
| bool | Return whether or not an object should be created even if it has been deleted in the editor. | ||
| bool | Return true if this node should skip the factory import process, false otherwise. | ||
| bool | Disallow the creation of the unreal object if it has been previously deleted in the editor. | ||
| bool | Remove the skip node attribute. See ShouldSkipNodeImport for more documentation. |
Overridden from UInterchangeBaseNode
| Type | Name | Description | |
|---|---|---|---|
| FString | GetAttributeCategory
(
const UE::Interchange::FAttributeKey& NodeAttributeKey |
UI that inspect node attribute call this to display the attribute under the returned category | |
| FString | GetKeyDisplayName
(
const UE::Interchange::FAttributeKey& NodeAttributeKey |
UI that inspect node attribute call this to give a readable name to attribute key |