Scene Actor Functionalities (deprecated)
OculusXRSceneActor Deprecation
As of v65, OculusXRSceneActor is deprecated. New features will be delivered through MR Utility Kit. Refer to the following as guidance on which APIs to use:
New projects:
Existing projects:
The Scene Actor exposes various functionalities that you can use either from Blueprints or native C++.
Launches Scene Capture. This call will suspend the Unreal application. Once you exit Scene Capture, the Unreal application will regain focus.
Target: The Scene Actor object reference.
Output: None.
Checks whether the Scene Actor has been populated with scene entities from a captured Scene Model.
Target: The Scene Actor object reference.
Output: This call returns true if the Scene Actor has been populated with scene entity actors from a captured Scene Model.
Queries the Scene Model and populates the Scene Actor by spawning scene entity actors.
Target: The Scene Actor object reference.
Output: None.
Clears a Scene Actor if one is populated. This call will destroy all spawned scene entity actors.
Target: The Scene Actor object reference.
Output: None.
Set Visibility To All Scene Anchors
Toggles the visibility of all spawned actors that are part of the Scene Actor.
Target: The Scene Actor object reference.
Is Visible: Set this to true to make Scene Entity actors visible and false to hide them.
Output: None.
Set Visibility To Scene Anchors by Semantic Label
Toggles the visibility of all spawned scene entity actors with specific semantic labels that are part of the Scene Model.
Target: The Scene Actor object reference.
Semantic Label: String of the semantic label.
Is Visible: Set this to true to make “Semantic Label” type actors visible and false to hide them.
Output: None.
Get Actors by Semantic Label
Returns all scene entity actors that have a specific semantic label type.
Target: The Scene Actor object reference.
Semantic Label: String of the semantic label.
Output: An array of actor object references.