Files
UnrealEngineUWP/Engine/Source/Runtime/AnimGraphRuntime/Public/AnimationCustomVersion.h
Michael Noland 2d953ade9f Animation: Improved bone driven controllers
- One driver value can now drive multiple components
- How a component is driven is now configurable (add to input, replace, add to ref pose and replace)
- The range limit is now defined on the input (before the multiplier is applied) rather than the output (existing ranges are fixed up on load)
- New details customization to make working with the node easier
- Individual scale components can now be a driver or one of the driven components, rather than just the max component of scale
- The node title now displays the driving equation (e.g., driven.rotation.z = -0.5 * driver.rotation.x)

Animation: Added a custom version for AnimGraph/AnimGraphRuntime usage

Upgrade Note: The exact behavior of the original node was not preserved, but there are now more configuration options, so please revisit any uses of bone driven controllers in your animation blueprints

[CL 2606968 by Michael Noland in Main branch]
2015-06-30 22:25:56 -04:00

28 lines
845 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
// Custom serialization version for assets/classes in the AnimGraphRuntime and AnimGraph modules
struct ANIMGRAPHRUNTIME_API FAnimationCustomVersion
{
enum Type
{
// Before any version changes were made in the plugin
BeforeCustomVersionWasAdded = 0,
// Added support for one-to-many component mappings to FAnimNode_BoneDrivenController,
// changed the range to apply to the input, and added a configurable method for updating the components
BoneDrivenControllerMatchingMaya = 1,
// -----<new versions can be added above this line>-------------------------------------------------
VersionPlusOne,
LatestVersion = VersionPlusOne - 1
};
// The GUID for this custom version number
const static FGuid GUID;
private:
FAnimationCustomVersion() {}
};