Navigation
API > API/Plugins > API/Plugins/InterchangeNodes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangeBaseNode
- UInterchangeMeshNode
References
| Module | InterchangeNodes |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Nodes/Public/InterchangeMeshNode.h |
| Include | #include "InterchangeMeshNode.h" |
Syntax
UCLASS (BlueprintType)
class UInterchangeMeshNode : public UInterchangeBaseNode
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetCustomBoundingBox
(
FBox& AttributeValue |
Query the bounding box of this mesh. Return false if the attribute was not set. | |
| bool | GetCustomHasSmoothGroup
(
bool& AttributeValue |
Query whether this mesh has smoothing groups. Return false if the attribute was not set. | |
| bool | GetCustomHasVertexBinormal
(
bool& AttributeValue |
Query whether this mesh has vertex bi-normals. Return false if the attribute was not set. | |
| bool | GetCustomHasVertexColor
(
bool& AttributeValue |
Query whether this mesh has vertex colors. Return false if the attribute was not set. | |
| bool | GetCustomHasVertexNormal
(
bool& AttributeValue |
Query whether this mesh has vertex normals. Return false if the attribute was not set. | |
| bool | GetCustomHasVertexTangent
(
bool& AttributeValue |
Query whether this mesh has vertex tangents. Return false if the attribute was not set. | |
| bool | GetCustomPolygonCount
(
int32& AttributeValue |
Query the polygon count of this mesh. Return false if the attribute was not set. | |
| bool | GetCustomUVCount
(
int32& AttributeValue |
Query the UV count of this mesh. Return false if the attribute was not set. | |
| bool | GetCustomVertexCount
(
int32& AttributeValue |
Query the vertex count of this mesh. Return false if the attribute was not set. | |
| int32 | Retrieve the number of morph target dependencies for this object. | ||
| void | GetMorphTargetDependencies
(
TArray< FString >& OutDependencies |
Retrieve all morph target dependencies for this object. | |
| void | GetMorphTargetDependency
(
const int32 Index, |
Retrieve the specified morph target dependency for this object. | |
| bool | GetMorphTargetName
(
FString& OutMorphTargetName |
Get the morph target name. Return true if we successfully retrieved the MorphTargetName attribute. | |
| const TOptional< FInterchangeMeshPayLoadKey > | |||
| void | GetSceneInstanceUid
(
const int32 Index, |
Retrieve the asset instance this scene node refers to. | |
| void | GetSceneInstanceUids
(
TArray< FString >& OutDependencies |
Retrieve the asset instances this scene node refers to. | |
| int32 | Retrieve the number of scene nodes instancing this mesh. | ||
| int32 | Retrieve the number of skeleton dependencies for this object. | ||
| void | GetSkeletonDependencies
(
TArray< FString >& OutDependencies |
Retrieve the skeleton dependency for this object. | |
| void | GetSkeletonDependency
(
const int32 Index, |
Retrieve the specified skeleton dependency for this object. | |
| void | GetSlotMaterialDependencies
(
TMap< FString, FString >& OutMaterialDependencies |
Retrieve the correspondence table between slot names and assigned materials for this object. | |
| bool | GetSlotMaterialDependencyUid
(
const FString& SlotName, |
Retrieve the specified Material dependency for a given slot of this object. | |
| bool | Return true if this node represents a morph target. | ||
| bool | Return true if this node represents a skinned mesh. | ||
| bool | RemoveMorphTargetDependencyUid
(
const FString& DependencyUid |
Remove the specified morph target dependency from this object. | |
| bool | RemoveSceneInstanceUid
(
const FString& DependencyUid |
Remove the specified asset instance this scene node refers to. | |
| bool | RemoveSkeletonDependencyUid
(
const FString& DependencyUid |
Remove the specified skeleton dependency from this object. | |
| bool | RemoveSlotMaterialDependencyUid
(
const FString& SlotName |
Remove the Material dependency associated with the given slot name from this object. | |
| bool | SetCustomBoundingBox
(
const FBox& AttributeValue |
Set the bounding box of this mesh. Return false if the attribute could not be set. | |
| bool | SetCustomHasSmoothGroup
(
const bool& AttributeValue |
Set the smoothing group attribute of this mesh. Return false if the attribute could not be set. | |
| bool | SetCustomHasVertexBinormal
(
const bool& AttributeValue |
Set the vertex bi-normal attribute of this mesh. Return false if the attribute could not be set. | |
| bool | SetCustomHasVertexColor
(
const bool& AttributeValue |
Set the vertex color attribute of this mesh. Return false if the attribute could not be set. | |
| bool | SetCustomHasVertexNormal
(
const bool& AttributeValue |
Set the vertex normal attribute of this mesh. Return false if the attribute could not be set. | |
| bool | SetCustomHasVertexTangent
(
const bool& AttributeValue |
Set the vertex tangent attribute of this mesh. Return false if the attribute could not be set. | |
| bool | SetCustomPolygonCount
(
const int32& AttributeValue |
Set the polygon count of this mesh. Return false if the attribute could not be set. | |
| bool | SetCustomUVCount
(
const int32& AttributeValue |
Set the UV count attribute of this mesh. Return false if the attribute could not be set. | |
| bool | SetCustomVertexCount
(
const int32& AttributeValue |
Set the vertex count of this mesh. Return false if the attribute could not be set. | |
| bool | SetMorphTarget
(
const bool bIsMorphTarget |
Set the IsMorphTarget attribute to determine whether this node represents a morph target. | |
| bool | SetMorphTargetDependencyUid
(
const FString& DependencyUid |
Add the specified morph target dependency to this object. | |
| bool | SetMorphTargetName
(
const FString& MorphTargetName |
Set the MorphTargetName attribute to determine the name of the morph target. | |
| void | SetPayLoadKey
(
const FString& PayLoadKey, |
||
| bool | SetSceneInstanceUid
(
const FString& DependencyUid |
Add the specified asset instance this scene node refers to. | |
| bool | SetSkeletonDependencyUid
(
const FString& DependencyUid |
Add the specified skeleton dependency to this object. | |
| bool | SetSkinnedMesh
(
const bool bIsSkinnedMesh |
Set the IsSkinnedMesh attribute to determine whether this node represents a skinned mesh. | |
| bool | SetSlotMaterialDependencyUid
(
const FString& SlotName, |
Add the specified Material dependency to a specific slot name of this object. |
Overridden from UInterchangeBaseNode
| Type | Name | Description | |
|---|---|---|---|
| FString | GetAttributeCategory
(
const UE::Interchange::FAttributeKey& NodeAttributeKey |
UI that inspects node attributes calls this to display the attribute under the returned category. | |
| FName | GetIconName () |
Icon names are created by adding "InterchangeIcon_" in front of the specialized type. | |
| FString | GetKeyDisplayName
(
const UE::Interchange::FAttributeKey& NodeAttributeKey |
UI that inspects node attributes calls this to give a readable name to an attribute key. | |
| FString | GetTypeName () |
Return the node type name of the class. This is used when reporting errors. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Override Serialize() to restore SlotMaterialDependencies on load. |