Navigation
API > API/Plugins > API/Plugins/InterchangeNodes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangeBaseNode
- UInterchangeSceneNode
References
| Module | InterchangeNodes |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Nodes/Public/InterchangeSceneNode.h |
| Include | #include "InterchangeSceneNode.h" |
Syntax
UCLASS (BlueprintType)
class UInterchangeSceneNode : public UInterchangeBaseNode
Remarks
The scene node represents a transform node in the scene. Scene nodes can have user-defined attributes. Use UInterchangeUserDefinedAttributesAPI to get and set user-defined attribute data.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddSpecializedType
(
const FString& SpecializedType |
||
| bool | GetCustomAnimationAssetUidToPlay
(
FString& AttributeValue |
Get the Animation Asset To Play by this Scene Node. | |
| bool | GetCustomAssetInstanceUid
(
FString& AttributeValue |
Get which asset, if any, a scene node is instantiating. | |
| bool | GetCustomBindPoseGlobalTransform
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
Get the global transform of the bind pose scene node. | |
| bool | GetCustomBindPoseLocalTransform
(
FTransform& AttributeValue |
Get the local transform of the bind pose scene node. | |
| bool | GetCustomGeometricTransform
(
FTransform& AttributeValue |
Get the geometric offset. Any mesh attached to this scene node will be offset using this transform. | |
| bool | GetCustomGlobalTransform
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
Get the default scene node global transform. | |
| bool | GetCustomLocalTransform
(
FTransform& AttributeValue |
Get the default scene node local transform. | |
| bool | GetCustomTimeZeroGlobalTransform
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
Get the global transform of the time-zero scene node. | |
| bool | GetCustomTimeZeroLocalTransform
(
FTransform& AttributeValue |
Time zero transform is the transform of the node at time zero. | |
| void | GetMorphTargetCurveWeights
(
TMap< FString, float >& OutMorphTargetCurveWeights |
Get MorphTargets and their weights. | |
| 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 Material dependency for a given slot of this object. | |
| void | GetSpecializedType
(
const int32 Index, |
||
| int32 | Get the specialized type this scene node represents (for example, Joint or LODGroup). | ||
| void | GetSpecializedTypes
(
TArray< FString >& OutSpecializedTypes |
||
| bool | IsSpecializedTypeContains
(
const FString& SpecializedType |
||
| bool | RemoveSlotMaterialDependencyUid
(
const FString& SlotName |
Remove the Material dependency associated with the given slot name from this object. | |
| bool | RemoveSpecializedType
(
const FString& SpecializedType |
||
| void | ResetAllGlobalTransformCaches
(
const UInterchangeBaseNodeContainer* BaseNodeContainer |
Skeleton bone API End This static function ensures all the global transform caches are reset for all the UInterchangeSceneNode nodes in the UInterchangeBaseNodeContainer. | |
| void | ResetGlobalTransformCachesOfNodeAndAllChildren
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
This static function ensures all the global transform caches are reset for all the UInterchangeSceneNode nodes children in the UInterchangeBaseNodeContainer. | |
| bool | SetCustomAnimationAssetUidToPlay
(
const FString& AttributeValue |
Set the Animation Asset To Play by this Scene Node. | |
| bool | SetCustomAssetInstanceUid
(
const FString& AttributeValue |
Add an asset for this scene node to instantiate. | |
| bool | SetCustomBindPoseLocalTransform
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
Set the local transform of the bind pose scene node. | |
| bool | SetCustomGeometricTransform
(
const FTransform& AttributeValue |
Set the geometric offset. Any mesh attached to this scene node will be offset using this transform. | |
| bool | SetCustomLocalTransform
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
Set the default scene node local transform. | |
| bool | SetCustomTimeZeroLocalTransform
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
Set the local transform of the time-zero scene node. | |
| bool | SetMorphTargetCurveWeight
(
const FString& MorphTargetName, |
Set MorphTarget with given weight. | |
| 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. |