UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
INodeAndChannelMappings.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
7#pragma once
8#include "Containers/Array.h"
10#include "CoreMinimal.h"
12#include "HAL/Platform.h"
13#include "UObject/Interface.h"
14#include "UObject/Object.h"
17
18#include "INodeAndChannelMappings.generated.h"
19
20class FName;
22class UObject;
23
38
45
46// For import data onto channels directly
62
64{
65 // The UE channel type name
67
68 // The UE control type proxy
70
71 // The UE channel transform attribute index (0-9, invalid if non-transform)
73
74 // The FBX transform attribute index (0-9)
76
77 bool bNegate = false;
78};
79
81{
82 // The name of the control associated to this curve
84
85 // The type of the control associated to this curve
87
88 // The name of the node holding this curve
89 FString NodeName;
90
91 // the name of the FBX node's attribute (i.e. 'X', 'Weight'...) holding this curve
93
94 // the name of the FBX node's property (i.e. 'Rotation', 'Scale'...) holding the channel attribute. Usually empty for non transform curves
96
97 // @returns whether the control is a node in itself instead of being grouped as an attribute of another existing control's node
98 bool IsControlNode() const { return NodeName == ControlName.ToString(); }
99};
100
101
102UINTERFACE(meta = (CannotImplementInterfaceInBlueprint), MinimalAPI)
107
109{
111
112
115 virtual TArray<FRigControlFBXNodeAndChannels>* GetNodeAndChannelMappings(UMovieSceneSection* InSection) = 0;
116
118 virtual void GetSelectedNodes(TArray<FName>& OutSelectedNodes) = 0;
119
120#if WITH_EDITOR
126
127#endif // WITH_EDITOR
128
129};
@ INDEX_NONE
Definition CoreMiscDefines.h:150
FPlatformTypes::int8 int8
An 8-bit signed integer.
Definition Platform.h:1121
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
FFBXControlRigTypeProxyEnum
Definition INodeAndChannelMappings.h:26
#define UINTERFACE(...)
Definition ObjectMacros.h:780
#define GENERATED_IINTERFACE_BODY(...)
Definition ObjectMacros.h:770
#define GENERATED_UINTERFACE_BODY(...)
Definition ObjectMacros.h:769
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition NameTypes.h:617
CORE_API FString ToString() const
Definition UnrealNames.cpp:3537
Definition INodeAndChannelMappings.h:109
Definition Array.h:670
Definition Interface.h:19
Definition MovieSceneSection.h:243
Definition MovieSceneTrack.h:206
Definition INodeAndChannelMappings.h:104
Definition Object.h:95
Definition INodeAndChannelMappings.h:81
FString AttributeName
Definition INodeAndChannelMappings.h:92
FFBXControlRigTypeProxyEnum ControlType
Definition INodeAndChannelMappings.h:86
FString AttributePropertyName
Definition INodeAndChannelMappings.h:95
FName ControlName
Definition INodeAndChannelMappings.h:83
bool IsControlNode() const
Definition INodeAndChannelMappings.h:98
FString NodeName
Definition INodeAndChannelMappings.h:89
Definition INodeAndChannelMappings.h:64
FFBXControlRigTypeProxyEnum ControlType
Definition INodeAndChannelMappings.h:69
int8 ChannelAttrIndex
Definition INodeAndChannelMappings.h:72
bool bNegate
Definition INodeAndChannelMappings.h:77
FName ChannelType
Definition INodeAndChannelMappings.h:66
uint8 FbxAttrIndex
Definition INodeAndChannelMappings.h:75
Definition MovieSceneBoolChannel.h:32
Definition MovieSceneByteChannel.h:33
Definition MovieSceneDoubleChannel.h:125
Definition MovieSceneFloatChannel.h:122
Definition MovieSceneIntegerChannel.h:33
Definition INodeAndChannelMappings.h:48
FString NodeName
Definition INodeAndChannelMappings.h:51
TArray< FMovieSceneFloatChannel * > FloatChannels
Definition INodeAndChannelMappings.h:55
TArray< FMovieSceneByteChannel * > EnumChannels
Definition INodeAndChannelMappings.h:59
TArray< FMovieSceneDoubleChannel * > DoubleChannels
Definition INodeAndChannelMappings.h:54
TArray< FMovieSceneBoolChannel * > BoolChannels
Definition INodeAndChannelMappings.h:57
FName ControlName
Definition INodeAndChannelMappings.h:52
FFBXControlRigTypeProxyEnum ControlType
Definition INodeAndChannelMappings.h:50
TArray< FMovieSceneIntegerChannel * > IntegerChannels
Definition INodeAndChannelMappings.h:58
UMovieSceneTrack * MovieSceneTrack
Definition INodeAndChannelMappings.h:49