You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-OWNER: ryan.durand #ROBOMERGE-AUTHOR: ryan.durand #ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900 #ROBOMERGE-BOT: (v613-10869866) [CL 10870549 by ryan durand in Main branch]
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
|
|
#include "LiveLinkRefSkeleton.generated.h"
|
|
|
|
USTRUCT()
|
|
struct
|
|
UE_DEPRECATED(4.23, "FLiveLinkRefSkeleton is no longer used, please use LiveLink animation role instead.")
|
|
FLiveLinkRefSkeleton
|
|
{
|
|
GENERATED_USTRUCT_BODY()
|
|
|
|
// Set the bone names for this skeleton
|
|
void SetBoneNames(const TArray<FName>& InBoneNames) { BoneNames = InBoneNames; }
|
|
|
|
// Get the bone names for this skeleton
|
|
const TArray<FName>& GetBoneNames() const { return BoneNames; }
|
|
|
|
// Set the parent bones for this skeleton (Array of indices to parent)
|
|
void SetBoneParents(const TArray<int32> InBoneParents) { BoneParents = InBoneParents; }
|
|
|
|
//Get skeleton's parent bones array
|
|
const TArray<int32>& GetBoneParents() const { return BoneParents; }
|
|
|
|
public: //Deprecated so made public to be able to move data when converting on load
|
|
|
|
// Names of each bone in the skeleton
|
|
UPROPERTY()
|
|
TArray<FName> BoneNames;
|
|
|
|
// Parent Indices: For each bone it specifies the index of its parent
|
|
UPROPERTY()
|
|
TArray<int32> BoneParents;
|
|
}; |