Struct ImScrollAreaStyle
Defines the style of the viewable content, the scrollbar, and the scrollbar button.
Implements
Inherited Members
      System.ValueType.Equals(System.Object)
    
    
      System.ValueType.GetHashCode()
    
    
      System.ValueType.ToString()
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: InitialPrefabs.NimGui
Assembly: InitialPrefabs.ImGui.dll
Syntax
public struct ImScrollAreaStyle : IStyleFields
ButtonDefault
Default scroll button color.
Declaration
public Color32 ButtonDefaultField Value
| Type | Description | 
|---|---|
| UnityEngine.Color32 | 
ButtonHover
Scroll button color when the mouse is over the scroll button.
Declaration
public Color32 ButtonHoverField Value
| Type | Description | 
|---|---|
| UnityEngine.Color32 | 
ButtonPressed
Scroll button color when the mouse presses the button.
Declaration
public Color32 ButtonPressedField Value
| Type | Description | 
|---|---|
| UnityEngine.Color32 | 
DeltaTime
Time between frames.
Declaration
public float DeltaTimeField Value
| Type | Description | 
|---|---|
| System.Single | 
Padding
Amount of spacing between the current and next widget.
Declaration
public float2 PaddingField Value
| Type | Description | 
|---|---|
| Unity.Mathematics.float2 | 
ScrollBarBackground
Background color of the scrollbar.
Declaration
public Color32 ScrollBarBackgroundField Value
| Type | Description | 
|---|---|
| UnityEngine.Color32 | 
ScrollBarPanel
Panel color of the scroll area.
Declaration
public Color32 ScrollBarPanelField Value
| Type | Description | 
|---|---|
| UnityEngine.Color32 | 
ScrollButtonWidth
Size of the scroll button.
Declaration
public float ScrollButtonWidthField Value
| Type | Description | 
|---|---|
| System.Single | 
ScrollSpeed
Speed of scrolling with a mousewheel.
Declaration
public float ScrollSpeedField Value
| Type | Description | 
|---|---|
| System.Single | 
Methods
New()
Constructs a new instance of the ScrollAreaStyle with default settings.
Declaration
public static ImScrollAreaStyle New()Returns
| Type | Description | 
|---|---|
| ImScrollAreaStyle |