Свойство | Тип | Описание | |
---|---|---|---|
GetElementTable | OverlayElement>.Dictionary | ||
OverlayElementManager | System |
Метод | Описание | |
---|---|---|
AddElementFactory ( IOverlayElementFactory factory ) : void |
Registers a new OverlayElementFactory with this manager. Should be used by plugins or other apps wishing to provide a new OverlayElement subclass. |
|
CloneOverlayElementFromTemplate ( string template, string name ) : |
Clones an overlay element from a template
|
|
CreateElement ( string typeName, string instanceName ) : |
Creates a new OverlayElement of the type requested.
|
|
CreateElement ( string typeName, string instanceName, bool isTemplate ) : |
Creates a new OverlayElement of the type requested.
|
|
CreateElementFromFactory ( string typeName, string instanceName ) : |
Creates an element of the specified type, with the specified name A factory must be available to handle the requested type, or an exception will be thrown. |
|
CreateElementFromTemplate ( string templateName, string typeName, string instanceName ) : |
|
|
CreateElementFromTemplate ( string templateName, string typeName, string instanceName, bool isTemplate ) : |
|
|
DestroyAllElements ( ) : void |
destroys all OverlayElements
|
|
DestroyAllElements ( bool isTemplate ) : void |
destroys all OverlayElements
|
|
DestroyElement ( |
Destroys the supplied OvelayElement
|
|
DestroyElement ( |
Destroys the supplied OvelayElement
|
|
DestroyElement ( string name ) : void |
Destroys the specified OverlayElement
|
|
DestroyElement ( string name, bool isTemplate ) : void |
Destroys the specified OverlayElement
|
|
GetElement ( string name ) : |
Gets a reference to an existing element.
|
|
GetElement ( string name, bool isTemplate ) : |
Gets a reference to an existing element.
|
Метод | Описание | |
---|---|---|
dispose ( bool disposeManagedResources ) : void |
Called when the engine is shutting down.
|
Метод | Описание | |
---|---|---|
GetElementTable ( bool isTemplate ) : OverlayElement>.Dictionary |
Quick helper method to return the lookup table for the right element type.
|
|
OverlayElementManager ( ) : System |
Internal constructor. This class cannot be instantiated externally.
|
public AddElementFactory ( IOverlayElementFactory factory ) : void | ||
factory | IOverlayElementFactory | |
Результат | void |
public CloneOverlayElementFromTemplate ( string template, string name ) : |
||
template | string | template to clone |
name | string | name of the new element |
Результат |
public CreateElement ( string typeName, string instanceName ) : |
||
typeName | string | The type of element to create is passed in as a string because this /// allows plugins to register new types of component. |
instanceName | string | The type of element to create. |
Результат |
public CreateElement ( string typeName, string instanceName, bool isTemplate ) : |
||
typeName | string | The type of element to create is passed in as a string because this /// allows plugins to register new types of component. |
instanceName | string | The type of element to create. |
isTemplate | bool | |
Результат |
public CreateElementFromFactory ( string typeName, string instanceName ) : |
||
typeName | string | |
instanceName | string | |
Результат |
public CreateElementFromTemplate ( string templateName, string typeName, string instanceName ) : |
||
templateName | string | |
typeName | string | |
instanceName | string | |
Результат |
public CreateElementFromTemplate ( string templateName, string typeName, string instanceName, bool isTemplate ) : |
||
templateName | string | |
typeName | string | |
instanceName | string | |
isTemplate | bool | |
Результат |
public DestroyAllElements ( bool isTemplate ) : void | ||
isTemplate | bool | |
Результат | void |
public DestroyElement ( |
||
element | ||
Результат | void |
public DestroyElement ( |
||
element | ||
isTemplate | bool | |
Результат | void |
public DestroyElement ( string name ) : void | ||
name | string | |
Результат | void |
public DestroyElement ( string name, bool isTemplate ) : void | ||
name | string | |
isTemplate | bool | |
Результат | void |
public GetElement ( string name ) : |
||
name | string | Name of the element to retrieve. |
Результат |
public GetElement ( string name, bool isTemplate ) : |
||
name | string | Name of the element to retrieve. |
isTemplate | bool | |
Результат |
protected dispose ( bool disposeManagedResources ) : void | ||
disposeManagedResources | bool | |
Результат | void |