SpatialActivityDelegate

The SpatialActivityDelegate is responsible for providing the spatial content to the activity.

Types

Link copied to clipboard
object Companion

companion object

Functions

Link copied to clipboard
abstract fun setSpatialContent()

Set the spatial content to a custom activity. Like Activity.setContentView, this method should be called at Activity.onCreate. Be noticed that, when using a SpatialActivityDelegate, you should not call Activity.setContentView or ComponentActivity.setContent anymore.