C# Class GumRuntime.ElementSaveExtensions

Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Méthode Description
CreateGraphicalComponent ( this graphicalElement, ElementSave elementSave, SystemManagers systemManagers ) : void
CreateGueForElement ( ElementSave elementSave, bool fullInstantiation = false ) : GraphicalUiElement
RegisterGueInstantiationType ( string elementName, Type gueInheritingType ) : void
SetGraphicalUiElement ( this elementSave, GraphicalUiElement toReturn, SystemManagers systemManagers ) : void
SetStatesAndCategoriesRecursively ( this graphicalElement, ElementSave elementSave ) : void
SetVariablesRecursively ( this graphicalElement, ElementSave elementSave, Gum stateSave ) : void
SetVariablesTopLevel ( this graphicalElement, ElementSave elementSave, Gum stateSave ) : void
ToGraphicalUiElement ( this elementSave, SystemManagers systemManagers, bool addToManagers ) : GraphicalUiElement

Private Methods

Méthode Description
AddExposedVariablesRecursively ( this graphicalElement, ElementSave elementSave ) : void
CreateChildrenRecursively ( this graphicalElement, ElementSave elementSave, SystemManagers systemManagers ) : void
SetVariablesRecursively ( this graphicalElement, ElementSave elementSave ) : void

Method Details

CreateGraphicalComponent() public static méthode

public static CreateGraphicalComponent ( this graphicalElement, ElementSave elementSave, SystemManagers systemManagers ) : void
graphicalElement this
elementSave Gum.DataTypes.ElementSave
systemManagers RenderingLibrary.SystemManagers
Résultat void

CreateGueForElement() public static méthode

public static CreateGueForElement ( ElementSave elementSave, bool fullInstantiation = false ) : GraphicalUiElement
elementSave ElementSave
fullInstantiation bool
Résultat GraphicalUiElement

RegisterGueInstantiationType() public static méthode

public static RegisterGueInstantiationType ( string elementName, Type gueInheritingType ) : void
elementName string
gueInheritingType Type
Résultat void

SetGraphicalUiElement() public static méthode

public static SetGraphicalUiElement ( this elementSave, GraphicalUiElement toReturn, SystemManagers systemManagers ) : void
elementSave this
toReturn GraphicalUiElement
systemManagers SystemManagers
Résultat void

SetStatesAndCategoriesRecursively() public static méthode

public static SetStatesAndCategoriesRecursively ( this graphicalElement, ElementSave elementSave ) : void
graphicalElement this
elementSave ElementSave
Résultat void

SetVariablesRecursively() public static méthode

public static SetVariablesRecursively ( this graphicalElement, ElementSave elementSave, Gum stateSave ) : void
graphicalElement this
elementSave ElementSave
stateSave Gum
Résultat void

SetVariablesTopLevel() public static méthode

public static SetVariablesTopLevel ( this graphicalElement, ElementSave elementSave, Gum stateSave ) : void
graphicalElement this
elementSave ElementSave
stateSave Gum
Résultat void

ToGraphicalUiElement() public static méthode

public static ToGraphicalUiElement ( this elementSave, SystemManagers systemManagers, bool addToManagers ) : GraphicalUiElement
elementSave this
systemManagers SystemManagers
addToManagers bool
Résultat GraphicalUiElement