C# Class FullInspector.LayoutToolkit.fiHorizontalLayout

Does a horizontal layout similar to GUILayout.Horizontal.
Inheritance: fiLayout, IEnumerable
显示文件 Open project: jacobdufault/fullinspector Class Usage Examples

Private Properties

Property Type Description
ActualAdd void
IEnumerable IEnumerator

Public Methods

Method Description
Add ( fiLayout rule ) : void

Create an rule with auto width.

Add ( float width ) : void

Create a divider.

Add ( float width, fiLayout rule ) : void

Create a rule with the specific width.

Add ( string id ) : void

Create a label with auto width and the default height.

Add ( string id, fiLayout rule ) : void

Create a labeled rule that has auto width.

Add ( string id, float width ) : void

Create a label with a specific width.

Add ( string id, float width, fiLayout rule ) : void

Create a rule with the specified width and label.

GetSectionRect ( string sectionId, Rect initial ) : Rect
RespondsTo ( string sectionId ) : bool
fiHorizontalLayout ( ) : System
fiHorizontalLayout ( fiLayout defaultRule ) : System

Private Methods

Method Description
ActualAdd ( string id, float width, fiExpandMode expandMode, fiLayout rule ) : void
IEnumerable ( ) : IEnumerator

Method Details

Add() public method

Create an rule with auto width.
public Add ( fiLayout rule ) : void
rule fiLayout
return void

Add() public method

Create a divider.
public Add ( float width ) : void
width float
return void

Add() public method

Create a rule with the specific width.
public Add ( float width, fiLayout rule ) : void
width float
rule fiLayout
return void

Add() public method

Create a label with auto width and the default height.
public Add ( string id ) : void
id string
return void

Add() public method

Create a labeled rule that has auto width.
public Add ( string id, fiLayout rule ) : void
id string
rule fiLayout
return void

Add() public method

Create a label with a specific width.
public Add ( string id, float width ) : void
id string
width float
return void

Add() public method

Create a rule with the specified width and label.
public Add ( string id, float width, fiLayout rule ) : void
id string
width float
rule fiLayout
return void

GetSectionRect() public method

public GetSectionRect ( string sectionId, Rect initial ) : Rect
sectionId string
initial UnityEngine.Rect
return UnityEngine.Rect

RespondsTo() public method

public RespondsTo ( string sectionId ) : bool
sectionId string
return bool

fiHorizontalLayout() public method

public fiHorizontalLayout ( ) : System
return System

fiHorizontalLayout() public method

public fiHorizontalLayout ( fiLayout defaultRule ) : System
defaultRule fiLayout
return System