October3d55/M/PICOXRPlugin/Source/PICOXRMotionTracking/Public/PXR_MorphTargetsManager.h

19 lines
767 B
C++

// Copyright PICO Technology Co., Ltd. All rights reserved.
// This plugin incorporates portions of the Unreal® Engine. Unreal® is a trademark or registered trademark of Epic Games, Inc. in the United States of America and elsewhere.
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Components/SkinnedMeshComponent.h"
struct PICOXRMOTIONTRACKING_API FPXRMorphTargetsManager
{
public:
void ResetMeshMorphTargetCurves(USkinnedMeshComponent* TargetMeshComponent);
void UpdateMeshMorphTargets(USkinnedMeshComponent* TargetMeshComponent);
void SetMeshMorphTargetValue(FName MorphTargetName, float Value);
float GetMeshMorphTargetValue(FName MorphTargetName) const;
void EmptyMorphTargets();
TMap<FName, float> MeshMorphTargetCurves;
};