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&40;BlueprintType, Experimental&41;
class UInterchangeSceneNode : public UInterchangeBaseNode
Remarks
The scene node represent a transform node in the scene Scene node can have user defined attribute. Use UInterchangeUserDefinedAttributesAPI to get user define 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 bind pose scene node global transform. | |
| bool | GetCustomBindPoseLocalTransform
(
FTransform& AttributeValue |
Get the bind pose scene node local transform. | |
| bool | GetCustomGeometricTransform
(
FTransform& AttributeValue |
Get the geometric offset. Any mesh attach 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 time zero scene node global transform. | |
| 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 |
Allow to retrieve the correspondence table between slot names and assigned materials for this object. | |
| bool | GetSlotMaterialDependencyUid
(
const FString& SlotName, |
Allow to retrieve one Material dependency for a given slot of this object. | |
| void | GetSpecializedType
(
const int32 Index, |
||
| int32 | Get the Specialized type this scene node represent (Joint, 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 EndThis static function make sure all the global transform caches are reset for all the UInterchangeSceneNode nodes in the UInterchangeBaseNodeContainer | |
| void | ResetGlobalTransformCachesOfNodeAndAllChildren
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
This static function make sure 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 asset this scene node is instantiating | |
| bool | SetCustomBindPoseLocalTransform
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
Set the bind pose scene node local transform. | |
| bool | SetCustomGeometricTransform
(
const FTransform& AttributeValue |
Set the geometric offset. Any mesh attach 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 time zero scene node local transform. | |
| bool | SetMorphTargetCurveWeight
(
const FString& MorphTargetName, |
Set MorphTarget with given weight. | |
| bool | SetSlotMaterialDependencyUid
(
const FString& SlotName, |
Add one 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 inspect node attribute call this to display the attribute under the returned category | |
| FName | GetIconName () |
Icon name are simply create by adding "InterchangeIcon_" in front of the specialized type. | |
| FString | GetKeyDisplayName
(
const UE::Interchange::FAttributeKey& NodeAttributeKey |
UI that inspect node attribute call this to give a readable name to attribute key | |
| FString | GetTypeName () |
Return the node type name of the class, we use this when reporting error |