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

PanelFocusProvider Interface

Provider interface that determines which panels should have their UI understanding data updated each frame.

Signature

fun interface PanelFocusProvider

Methods

getFocusedPanelIds ()
Returns the set of panel entity IDs that should be updated this frame.
Signature
abstract fun getFocusedPanelIds(): Set<Long>
Returns
Set
setPanelIdSource ( source )
Called by UiUnderstandingSystem to supply a source of all tracked panel IDs.
Signature
open fun setPanelIdSource(source: () -> Set<Long>)
Parameters
source: Function0
setSceneObjectSystem ( sos )
Called by UiUnderstandingSystem to supply the SceneObjectSystem reference.
Signature
open fun setSceneObjectSystem(sos: SceneObjectSystem?)
Parameters