GearBlocks
The GearBlocks Lua scripting API
Properties | List of all members
SmashHammer.UI.IScrollView Interface Reference

Provides access to a UI scroll view's properties. More...

Inheritance diagram for SmashHammer.UI.IScrollView:
SmashHammer.UI.ScrollView

Properties

float ContainerSize [get, set]
 The scroll view's container size.
 
bool AutoResize [get, set]
 Auto resize the scroll view's container?
 
float ScrollPos [get, set]
 The scroll position.
 

Detailed Description

Provides access to a UI scroll view's properties.

Property Documentation

◆ ContainerSize

float SmashHammer.UI.IScrollView.ContainerSize
getset

The scroll view's container size.

The size of this scroll view's container.

◆ AutoResize

bool SmashHammer.UI.IScrollView.AutoResize
getset

Auto resize the scroll view's container?

Set to true to automatically resize the container; otherwise, false.

◆ ScrollPos

float SmashHammer.UI.IScrollView.ScrollPos
getset

The scroll position.

The scroll position of this scroll view.