You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
ADDED thumbnail renderer for GeometryCache ADDED BP creation from GeometryCache asset ADDED de-registering of handlers during GeomCacheModule shutdown FIXED bug with importing Materials, though recreating a clean scene in Maya also fixed it (bad Maya history) [CL 2682433 by Jurre DeBaare in Main branch]
33 lines
1.1 KiB
C++
33 lines
1.1 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "GeometryCacheMeshData.h"
|
|
|
|
#include "GeometryCacheTrackTransformGroupAnimation.generated.h"
|
|
|
|
/** Derived GeometryCacheTrack class, used for Transform animation. */
|
|
UCLASS(collapsecategories, hidecategories = Object, BlueprintType, config = Engine)
|
|
class GEOMETRYCACHE_API UGeometryCacheTrack_TransformGroupAnimation : public UGeometryCacheTrack
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
// Begin UObject interface.
|
|
virtual SIZE_T GetResourceSize(EResourceSizeMode::Type Mode) override;
|
|
virtual void Serialize(FArchive& Ar) override;
|
|
// End UObject interface.
|
|
|
|
// Begin UGeometryCacheTrack interface.
|
|
virtual const bool UpdateMeshData(const float Time, const bool bLooping, int32& InOutMeshSampleIndex, FGeometryCacheMeshData*& OutMeshData) override;
|
|
// End UGeometryCacheTrack interface.
|
|
|
|
/**
|
|
* Sets/updates the MeshData for this track
|
|
*
|
|
* @param NewMeshData - GeometryCacheMeshData instance later used as the rendered mesh
|
|
*/
|
|
UFUNCTION()
|
|
void SetMesh(const FGeometryCacheMeshData& NewMeshData);
|
|
private:
|
|
FGeometryCacheMeshData MeshData;
|
|
};
|