You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
27 lines
884 B
C++
27 lines
884 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AnimGraphPrivatePCH.h"
|
|
|
|
/////////////////////////////////////////////////////
|
|
// UAnimGraphNode_CopyBoneSkeletalControl
|
|
|
|
UAnimGraphNode_CopyBone::UAnimGraphNode_CopyBone(const FPostConstructInitializeProperties& PCIP)
|
|
: Super(PCIP)
|
|
{
|
|
}
|
|
|
|
FString UAnimGraphNode_CopyBone::GetControllerDescription() const
|
|
{
|
|
return TEXT("Copy Bone");
|
|
}
|
|
|
|
FString UAnimGraphNode_CopyBone::GetTooltip() const
|
|
{
|
|
return TEXT("The Copy Bone control copies the Transform data or any component of it - i.e. Translation, Rotation, or Scale - from one bone to another.");
|
|
}
|
|
|
|
FString UAnimGraphNode_CopyBone::GetNodeTitle(ENodeTitleType::Type TitleType) const
|
|
{
|
|
return FString::Printf(TEXT("%s\nSource Bone: %s\nTarget Bone: %s"), *GetControllerDescription(), *Node.SourceBone.BoneName.ToString(), *Node.TargetBone.BoneName.ToString());
|
|
}
|