VRTowerDef/Plugins/MetaXR/Source/OculusXRScene/Private/OculusXRSceneAnchorComponen...

22 lines
562 B
C++

// Copyright (c) Meta Platforms, Inc. and affiliates.
#include "OculusXRSceneAnchorComponent.h"
#include "Engine/StaticMeshActor.h"
UOculusXRSceneAnchorComponent::UOculusXRSceneAnchorComponent(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
bUpdateHeadSpaceTransform = false;
}
void UOculusXRSceneAnchorComponent::TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction)
{
Super::TickComponent(DeltaTime, TickType, ThisTickFunction);
if (GetHandle().Value == 0)
{
return;
}
}