프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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, 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 |