API reference
API reference
Select your platform
No SDKs available
No versions available

AOculusXRSceneActor Class

AOculusXRSceneActor extends AActor.

Overview

Public Member Functions

void
bool
bool
void
void
void
SetVisibilityToAllSceneAnchors
( const bool bIsVisible )
void
SetVisibilityToSceneAnchorsBySemanticLabel
( const FString SemanticLabel,
const bool bIsVisible )
TArray< AActor * >
GetActorsBySemanticLabel
( const FString SemanticLabel )
AOculusXRSceneActor
( const FObjectInitializer & ObjectInitializer )
void
void
EndPlay
( EEndPlayReason::Type Reason )
void
Tick
( float DeltaTime )
void

Details

Detailed Description

AOculusXRSceneActor The purpose of this actor is to be able to spawn "scene anchor" actors.
Each actor type (based on their semantic label) can be configured to be spawned with a specific mesh and actor component.
Overall, it provides a simple interface to be able to quickly get a captured scene from Capture Flow populated at runtime. It also provides a basic and flexible template to making use of the OculusAnchorSDK and UOculusXRRoomLayoutManagerComponent to drive the actor's logic. This removes the need for the developer to implement a system from scratch that makes use of the native methods and components.
TLDR:
  • This actor populates a captured scene (created in Capture Flow) by spawning child actors with predefined actor and mesh components.
  • Can be used as is, or can be derived or modified as needed depending on the application's needs.

Fields

TEnumAsByte<EOculusXRLaunchCaptureFlowWhenMissingScene> AOculusXRSceneActor::LauchCaptureFlowWhenMissingScene
No description available.
int32 AOculusXRSceneActor::MaxQueries
No description available.
bool AOculusXRSceneActor::bPopulateSceneOnBeginPlay
No description available.
bool AOculusXRSceneActor::bActiveRoomOnly
No description available.
TMap<FString, FOculusXRSpawnedSceneAnchorProperties> AOculusXRSceneActor::ScenePlaneSpawnedSceneAnchorProperties
No description available.
TMap<FString, FOculusXRSpawnedSceneAnchorProperties> AOculusXRSceneActor::SceneVolumeSpawnedSceneAnchorProperties
No description available.

Member Functions

void AOculusXRSceneActor::LaunchCaptureFlow ( )
No description available.
bool AOculusXRSceneActor::IsScenePopulated ( )
No description available.
bool AOculusXRSceneActor::IsRoomLayoutValid ( )
No description available.
void AOculusXRSceneActor::PopulateScene ( )
No description available.
void AOculusXRSceneActor::ClearScene ( )
No description available.
void AOculusXRSceneActor::SetVisibilityToAllSceneAnchors
( const bool bIsVisible )
No description available.
void AOculusXRSceneActor::SetVisibilityToSceneAnchorsBySemanticLabel
( const FString SemanticLabel,
const bool bIsVisible )
No description available.
TArray<AActor*> AOculusXRSceneActor::GetActorsBySemanticLabel
( const FString SemanticLabel )
No description available.
TArray<FOculusXRRoomLayout> AOculusXRSceneActor::GetRoomLayouts ( )
No description available.
AOculusXRSceneActor::AOculusXRSceneActor
( const FObjectInitializer & ObjectInitializer )
No description available.
virtual void AOculusXRSceneActor::BeginPlay ( )
No description available.
virtual void AOculusXRSceneActor::EndPlay
( EEndPlayReason::Type Reason )
No description available.
virtual void AOculusXRSceneActor::Tick
( float DeltaTime )
No description available.
virtual void AOculusXRSceneActor::PostLoad ( )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon