JxrPlatformAdapter.SpatialCapabilities


class JxrPlatformAdapter.SpatialCapabilities


Spatial Capabilities for SceneCore Platform.

Summary

Constants

const Int

The activity can create 3D contents.

const Int

The activity can set its own environment.

const Int

The activity can spatially embed another activity.

const Int

The activity can enable or disable passthrough.

const Int

The activity can use spatial audio.

const Int

The activity can spatialize itself by e.g. adding a spatial panel.

Public constructors

SpatialCapabilities(capabilities: Int)

Public functions

Boolean
hasCapability(capability: Int)

Public properties

Int

Constants

SPATIAL_CAPABILITY_3D_CONTENT

Added in 1.0.0-alpha01
const val SPATIAL_CAPABILITY_3D_CONTENT = 2: Int

The activity can create 3D contents.

SPATIAL_CAPABILITY_APP_ENVIRONMENT

Added in 1.0.0-alpha01
const val SPATIAL_CAPABILITY_APP_ENVIRONMENT = 8: Int

The activity can set its own environment.

SPATIAL_CAPABILITY_EMBED_ACTIVITY

Added in 1.0.0-alpha01
const val SPATIAL_CAPABILITY_EMBED_ACTIVITY = 32: Int

The activity can spatially embed another activity.

SPATIAL_CAPABILITY_PASSTHROUGH_CONTROL

Added in 1.0.0-alpha01
const val SPATIAL_CAPABILITY_PASSTHROUGH_CONTROL = 4: Int

The activity can enable or disable passthrough.

SPATIAL_CAPABILITY_SPATIAL_AUDIO

Added in 1.0.0-alpha01
const val SPATIAL_CAPABILITY_SPATIAL_AUDIO = 16: Int

The activity can use spatial audio.

SPATIAL_CAPABILITY_UI

Added in 1.0.0-alpha01
const val SPATIAL_CAPABILITY_UI = 1: Int

The activity can spatialize itself by e.g. adding a spatial panel.

Public constructors

SpatialCapabilities

Added in 1.0.0-alpha01
SpatialCapabilities(capabilities: Int)

Public functions

hasCapability

Added in 1.0.0-alpha01
fun hasCapability(capability: Int): Boolean

Public properties

capabilities

Added in 1.0.0-alpha01
val capabilitiesInt