Skip to content
Snippets Groups Projects
Commit a77871b0 authored by Giovanni Vindiola's avatar Giovanni Vindiola :speech_balloon:
Browse files

Updated PanoSphere ImageActor Content

parent 7d695bfb
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -12,8 +12,9 @@ AImageActor::AImageActor()
Root = CreateDefaultSubobject<USceneComponent>(TEXT("Root"));
SetRootComponent(Root);
SphereMeshComponent = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("SphereMesh"));
SphereMeshComponent->SetupAttachment(Root);
// commented out to add VRE Plugin GrippleStaticMesh instead inside the blueprint.
//SphereMeshComponent = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("SphereMesh"));
//SphereMeshComponent->SetupAttachment(Root);
TextureIndex_ = 0;
......@@ -24,10 +25,10 @@ void AImageActor::BeginPlay()
{
Super::BeginPlay();
APlayerController* MyController = GetWorld()->GetFirstPlayerController();
MyController->bShowMouseCursor = true;
MyController->bEnableClickEvents = true;
MyController->bEnableMouseOverEvents = true;
//APlayerController* MyController = GetWorld()->GetFirstPlayerController();
//MyController->bShowMouseCursor = true;
//MyController->bEnableClickEvents = true;
//MyController->bEnableMouseOverEvents = true;
//StartServer();
}
......
......@@ -50,8 +50,8 @@ public:
UPROPERTY(EditAnywhere, BluePrintReadWrite)
USceneComponent* Root;
UPROPERTY(EditAnywhere, BluePrintReadWrite)
UStaticMeshComponent* SphereMeshComponent;
//UPROPERTY(EditAnywhere, BluePrintReadWrite)
// UStaticMeshComponent* SphereMeshComponent;
UFUNCTION(BlueprintImplementableEvent)
void SpawnTexture(UTexture2D* httpTexture, int TextureIndex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment