TransformationWrapper
class TransformationWrapper( element: HudElement, translationProvider: () -> <Error class: unknown class>, rotationProvider: () -> <Error class: unknown class>, scaleProvider: () -> <Error class: unknown class>) : BaseHudElementWrapper
Content copied to clipboard
Transformation wrapper for element of HUD.
Constructors
Link copied to clipboard
fun TransformationWrapper( element: HudElement, translationProvider: () -> <Error class: unknown class>, rotationProvider: () -> <Error class: unknown class>, scaleProvider: () -> <Error class: unknown class>)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun addInputEventListener(listener: HudElement.InputEventListener)
Content copied to clipboard
Adds given input events listener to the wrapped element.
Link copied to clipboard
open override fun handleInputEvent(position: <Error class: unknown class>, event: Any?): Boolean
Content copied to clipboard
Link copied to clipboard
open override fun removeInputEventListener(listener: HudElement.InputEventListener)
Content copied to clipboard
Removes given input events listener from the wrapped element.