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

SpaceLocator Class

Extends MonoBehaviour
Base class to locate space in physical environment for Instant Content Placement Building Block.
See EnvironmentRaycastManager more information for ray-casting on physical environment.

Member Enumerations

Enumeration SurfaceOrientation

Defines different types of surfaces within a user environment.
None
= 0
Any
= 1
Vertical
= 2
HorizontalFaceUp
= 4
HorizontalFaceDown
= 8

Fields

SurfaceOrientation PreferredSurfaceOrientation[Get]
bool UseCustomSize[Get]
Vector3 CustomSize[Get]

Properties

Origin of raycast ray.
Maximum length of raycast ray.
This event will trigger when a suitable space is located within user's physical environment.
Resulted raycast hit information.

Protected Functions

Locate a space in physical environment.
Parameters
surfacePose
Located surface pose data.
Returns
True if a space is located successfully, otherwise, false.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon