| Name | Summary |
|---|---|
MRUKSystem | constructor() |
| Name | Summary |
|---|---|
rooms | val rooms: MutableList<MRUKRoom> |
systemManager | lateinit var systemManager: SystemManager The system manager that this system is associated with. |
| Name | Summary |
|---|---|
addOnAnchorAddedListener | |
addOnAnchorRemovedListener | |
addOnAnchorUpdatedListener | |
addOnRoomAddedListener | fun addOnRoomAddedListener(listener: (MRUKRoom) -> Unit) |
addOnRoomRemovedListener | fun addOnRoomRemovedListener(listener: (MRUKRoom) -> Unit) |
addOnRoomUpdatedListener | fun addOnRoomUpdatedListener(listener: (MRUKRoom) -> Unit) |
associateSystemManager | fun associateSystemManager(systemManager: SystemManager) Associates this system with a system manager, used in the Spatial SDK. |
clearRooms | fun clearRooms() |
delete | open fun delete(entity: Entity) System should do any housekeeping based on entity being removed from the scene |
destroy | open fun destroy() System should clean up any and all resources for shutdown |
equals | open operator override fun equals(other: Any?): Boolean Checks if this system is equal to another object. |
execute | open override fun execute() System should perform all the operations based on relevant entities. |
findRoom | fun findRoom(roomUuid: UUID): MRUKRoom? |
getCurrentRoom | fun getCurrentRoom(): MRUKRoom? |
getDependencies | open fun getDependencies(): SystemDependencies? Returns the dependencies of this system. |
getScene | fun getScene(): Scene Returns the scene that this system is associated with. |
hashCode | open override fun hashCode(): Int Returns the hash code of this system. |
loadSceneFromDevice | fun loadSceneFromDevice(requestSceneCaptureIfNoDataFound: Boolean = true, removeMissingRooms: Boolean = true): CompletableFuture<MRUKLoadDeviceResult> |
loadSceneFromJsonString | fun loadSceneFromJsonString(jsonString: String, removeMissingRooms: Boolean = true) |
removeOnAnchorAddedListener | |
removeOnAnchorRemovedListener | |
removeOnAnchorUpdatedListener | |
removeOnRoomAddedListener | fun removeOnRoomAddedListener(listener: (MRUKRoom) -> Unit) |
removeOnRoomRemovedListener | fun removeOnRoomRemovedListener(listener: (MRUKRoom) -> Unit) |
removeOnRoomUpdatedListener | fun removeOnRoomUpdatedListener(listener: (MRUKRoom) -> Unit) |
requestSceneCapture | fun requestSceneCapture(): CompletableFuture<Unit> |