C# Class AntTweakBar.Variable

The base class for all AntTweakBar variables.
Inheritance: IVariable
Afficher le fichier Open project: TomCrypto/AntTweakBar.NET Class Usage Examples

Private Properties

Свойство Type Description
Dispose void

Méthodes publiques

Méthode Description
Dispose ( ) : void
SetDefinition ( String def ) : void

Sets this variable's properties from a definition string.

ToString ( ) : String

Méthodes protégées

Méthode Description
ThrowIfDisposed ( ) : void

Throws an ObjectDisposedException if this variable has been disposed.

Variable ( Bar parent, String>.Action initFunc, String def = null, bool initLabel = true ) : System

Creates a new variable in a given AntTweakBar bar.

Private Methods

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

SetDefinition() public méthode

Sets this variable's properties from a definition string.
public SetDefinition ( String def ) : void
def String An AntTweakBar definition string, excluding the name prefix.
Résultat void

ThrowIfDisposed() protected méthode

Throws an ObjectDisposedException if this variable has been disposed.
protected ThrowIfDisposed ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : String
Résultat String

Variable() protected méthode

Creates a new variable in a given AntTweakBar bar.
protected Variable ( Bar parent, String>.Action initFunc, String def = null, bool initLabel = true ) : System
parent Bar The bar the variable should be created in.
initFunc String>.Action A delegate which will initialize the variable.
def String An optional definition string for the new variable.
initLabel bool Whether to initialize the variable's label.
Résultat System