Files
UnrealEngineUWP/Engine/Plugins/Experimental/Mutable/Source/CustomizableObject/Public/MuCO/CustomizableObjectCustomVersion.h
gerard martin 773f148878 [Mutable] Group Projector Node add Image Pin.
Fixed CL from previous backout (23057643, 23055982).

- Group Projector node now have an Image Pin wich is used as the projected image.
- Renamed Instance/Descriptor CurrentParamRange to GetProjectorValueRange.
- Group Projector Node moved backwards compatible code to the BackwardsCompatibleFixup function.
- Fixed Group Project Node not working with Extend Material.
- Fixed Group Projector Node crash with Extend Material.

#rnx
[REVIEW] [at]alexei.lebedev, [at]ricard.rovira
#preflight 636d04f3843e6ac794792c98

[CL 23115858 by gerard martin in ue5-main branch]
2022-11-14 04:57:20 -05:00

77 lines
1.7 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "HAL/Platform.h"
struct FGuid;
// Custom serialization version for assets/classes in the CustomizableObject and CustomizableObjectEditor modules
struct CUSTOMIZABLEOBJECT_API FCustomizableObjectCustomVersion
{
enum Type
{
// Before any version changes were made in the plugin
BeforeCustomVersionWasAdded = 0,
FixBlueprintPinsUseRealNumbers,
NodeExposePinOnNameChangedDelegateAdded,
GroupProjectorPinTypeAdded,
AutomaticNodeMaterial,
AutomaticNodeMaterialPerformance,
LayoutClassAdded,
AutomaticNodeMaterialPerformanceBug,
PinsNamesImageToTexture,
BugPinsSwitch,
PostLoadToCustomVersion, // Wrapped old backwards compatible code that was located at PostLoads inside this custom version.
AutomaticNodeMaterialUXImprovements,
ExtendMaterialOnlyMutableModeParameters,
ExtendMaterialOnlyMutableModeParametersBug,
ExtendMaterialRemoveImages,
EditMaterialOnlyMutableModeParameters, // Force refresh to avoid having Images which are not in Mutable mode.
GroupProjectorIntToScalarIndex,
FixBlueprintPinsUseRealNumbersAgain,
NodeMaterialAddTablePin,
MorphMaterialAddFactorPin,
NodeSkeletalMeshCorruptedPinRef,
CustomizableObjectInstanceDescriptor,
DescriptorBuildParameterDecorations,
DescriptorMultilayerProjectors,
DeformSkeletonOptionsAdded,
GroupProjectorImagePin,
// -----<new versions can be added above this line>-------------------------------------------------
VersionPlusOne,
LatestVersion = VersionPlusOne - 1
};
// The GUID for this custom version number
const static FGuid GUID;
private:
FCustomizableObjectCustomVersion() {}
};