You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Moved SmartObjects out of restricted folder Moved StateTree out of restricted folder Moved ZoneGraph out of restricted folder Moved ZoneGraphAnnotations out of restricted folder #jira UE-115297 #ROBOMERGE-OWNER: mieszko.zielinski #ROBOMERGE-AUTHOR: mieszko.zielinski #ROBOMERGE-SOURCE: CL 17648223 via CL 17648246 via CL 17648261 via CL 17648385 via CL 17648390 via CL 17648742 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v875-17642767) [CL 17648750 by mieszko zielinski in ue5-main branch]
33 lines
1.2 KiB
C++
33 lines
1.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "Components/PrimitiveComponent.h"
|
|
#include "SmartObjectRenderingComponent.generated.h"
|
|
|
|
|
|
class FPrimitiveSceneProxy;
|
|
|
|
UCLASS(hidecategories = (Object, LOD, Lighting, VirtualTexture, Transform, HLOD, Collision, TextureStreaming, Mobile, Physics, Tags, AssetUserData, Activation, Cooking, Rendering), editinlinenew, meta = (BlueprintSpawnableComponent))
|
|
class SMARTOBJECTSMODULE_API USmartObjectRenderingComponent : public UPrimitiveComponent
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
USmartObjectRenderingComponent(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());
|
|
|
|
//~ Begin UPrimitiveComponent Interface
|
|
virtual FPrimitiveSceneProxy* CreateSceneProxy() override;
|
|
virtual bool ShouldRecreateProxyOnUpdateTransform() const override { return true; }
|
|
//~ End UPrimitiveComponent Interface
|
|
|
|
//~ Begin USceneComponent Interface
|
|
virtual FBoxSphereBounds CalcBounds(const FTransform &LocalToWorld) const override;
|
|
//~ End USceneComponent Interface
|
|
|
|
#if WITH_EDITOR
|
|
virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
|
|
#endif // WITH_EDITOR
|
|
};
|