Open 3D Engine LyShine Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
UiScrollBarInterface Class Referenceabstract

Inherits AZ::ComponentBus.

Public Member Functions

virtual float GetHandleSize ()=0
 Get the size of the handle relative to the scrollbar (0 - 1)
 
virtual void SetHandleSize (float size)=0
 Set the size of the handle relative to the scrollbar (0 - 1)
 
virtual float GetMinHandlePixelSize ()=0
 Get the minimum size of the handle in pixels.
 
virtual void SetMinHandlePixelSize (float size)=0
 Set the minimum size of the handle in pixels.
 
virtual AZ::EntityId GetHandleEntity ()=0
 Get the handle entity.
 
virtual void SetHandleEntity (AZ::EntityId entityId)=0
 Set the handle entity.
 
virtual bool IsAutoFadeEnabled ()=0
 Get auto fade.
 
virtual void SetAutoFadeEnabled (bool isAutoFadeEnabled)=0
 Set auto fade.
 
virtual float GetAutoFadeDelay ()=0
 Get the delay in seconds before the scrollbar will fade if unused.
 
virtual void SetAutoFadeDelay (float delay)=0
 Set the fade delay in seconds.
 
virtual float GetAutoFadeSpeed ()=0
 Get the speed in seconds that it will take for the scrollbar to fade to transparent.
 
virtual void SetAutoFadeSpeed (float speed)=0
 Set the fade speed in seconds.
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single
 Only one component on a entity can implement the events.
 

The documentation for this class was generated from the following file: