프로퍼티 | 타입 | 설명 | |
---|---|---|---|
m_Bar | |||
m_ContentSize | float | ||
m_Depressed | bool | ||
m_NudgeAmount | float | ||
m_ScrollAmount | float | ||
m_ScrollButton | Flood.GUI.ControlInternal.ScrollBarButton[] | ||
m_ViewableContentSize | float |
메소드 | 설명 | |
---|---|---|
ScrollToBottom ( ) : void | ||
ScrollToLeft ( ) : void | ||
ScrollToRight ( ) : void | ||
ScrollToTop ( ) : void | ||
SetScrollAmount ( float value, bool forceUpdate = false ) : bool |
Sets the scroll amount (0-1).
|
메소드 | 설명 | |
---|---|---|
CalculateBarSize ( ) : int | ||
CalculateScrolledAmount ( ) : float | ||
OnBarMoved ( |
Handler for the BarMoved event.
|
|
OnMouseClickedLeft ( int x, int y, bool down ) : void |
Handler invoked on mouse click (left) event.
|
|
Render ( Skins skin ) : void |
Renders the control using specified skin.
|
|
ScrollBar ( |
Initializes a new instance of the ScrollBar class.
|
protected OnBarMoved ( |
||
control | The control. | |
리턴 | void |
protected OnMouseClickedLeft ( int x, int y, bool down ) : void | ||
x | int | X coordinate. |
y | int | Y coordinate. |
down | bool | If set to |
리턴 | void |
protected ScrollBar ( |
||
parent | Parent control. | |
리턴 | Flood.GUI.ControlInternal |
public SetScrollAmount ( float value, bool forceUpdate = false ) : bool | ||
value | float | Scroll amount. |
forceUpdate | bool | Determines whether the control should be updated. |
리턴 | bool |
protected ScrollBarBar,Flood.GUI.ControlInternal m_Bar | ||
리턴 |
protected ScrollBarButton[],Flood.GUI.ControlInternal m_ScrollButton | ||
리턴 | Flood.GUI.ControlInternal.ScrollBarButton[] |