class SpatialUser


SpatialUser represents the user in a spatialized Activity.

Summary

Public constructors

SpatialUser(
    lifecycleManager: LifecycleManager,
    runtime: JxrPlatformAdapter
)

Public properties

Map<CameraView.CameraTypeCameraView>

A Map of the CameraView objects attached to the SpatialUser.

Head?

Returns the Head for the SpatialUser, or null if it is not yet available.

Public constructors

SpatialUser

Added in 1.0.0-alpha05
SpatialUser(
    lifecycleManager: LifecycleManager,
    runtime: JxrPlatformAdapter
)

Public properties

cameraViews

Added in 1.0.0-alpha05
val cameraViewsMap<CameraView.CameraTypeCameraView>

A Map of the CameraView objects attached to the SpatialUser. The length and elements of the list are dependent on the device type. The list will be empty if the cameras are not yet available.

Throws
kotlin.IllegalStateException

if session.config.headTracking is set to HeadTrackingMode.DISABLED.

head

Added in 1.0.0-alpha05
val headHead?

Returns the Head for the SpatialUser, or null if it is not yet available.

Throws
kotlin.IllegalStateException

if session.config.headTracking is set to HeadTrackingMode.DISABLED.