You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
ADDED Support for importing GeometryCache assets from Alembic files ADDED CalculateRawMeshTangets function that only calculates the tangents without building the RawMesh [CL 2591762 by Jurre DeBaare in Main branch]
29 lines
987 B
C++
29 lines
987 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "GameFramework/Actor.h"
|
|
#include "GeometryCacheActor.generated.h"
|
|
|
|
class UGeometryCacheComponent;
|
|
|
|
/** GeometryCache actor, serves as a place-able actor for GeometryCache objects*/
|
|
UCLASS(hidedropdown, MinimalAPI, notplaceable, NotBlueprintable)
|
|
class AGeometryCacheActor : public AActor
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
// Begin AActor overrides.
|
|
#if WITH_EDITOR
|
|
virtual bool GetReferencedContentObjects(TArray<UObject*>& Objects) const override;
|
|
#endif // WITH_EDITOR
|
|
// End AActor overrides.
|
|
|
|
UPROPERTY(Category = GeometryCacheActor, VisibleAnywhere, BlueprintReadOnly, meta = (ExposeFunctionCategories = "Mesh,Rendering,Physics,Components|GeometryCache"))
|
|
UGeometryCacheComponent* GeometryCacheComponent;
|
|
public:
|
|
/** Returns GeometryCacheComponent subobject **/
|
|
UFUNCTION(BlueprintCallable, Category = "Components|GeometryCache")
|
|
UGeometryCacheComponent* GetGeometryCacheComponent() const;
|
|
};
|