C# Class Axiom.Overlays.OverlayElementContainer

A 2D element which contains other OverlayElement instances.
This is a specialization of OverlayElement for 2D elements that contain other elements. These are also the smallest elements that can be attached directly to an Overlay.

OverlayElementContainers should be managed using OverlayElementManager. This class is responsible for instantiating elements, and also for accepting new types of element from plugins etc.

Inheritance: OverlayElement
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Свойство Type Description
childContainers OverlayElement>.Dictionary
children OverlayElement>.Dictionary
childrenProcessEvents bool

Méthodes publiques

Méthode Description
AddChild ( OverlayElement element ) : void

Adds another OverlayElement to this container.

AddChildContainer ( OverlayElementContainer container ) : void

Add a nested container to this container.

AddChildElement ( OverlayElement element ) : void

Adds another OverlayElement to this container.

Clone ( string instanceName ) : OverlayElement
CopyFromTemplate ( OverlayElement templateOverlay ) : void
FindElementAt ( float x, float y ) : OverlayElement
GetChild ( string name ) : OverlayElement

Gets the named child of this container.

Initialize ( ) : void
NotifyParent ( OverlayElementContainer parent, Overlay overlay ) : void
NotifyViewport ( ) : void
NotifyWorldTransforms ( Matrix4 xform ) : void
NotifyZOrder ( int zOrder ) : int
PositionsOutOfDate ( ) : void

Tell the object and its children to recalculate their positions.

RemoveChild ( string name ) : void

Removes a child element by its name

Update ( ) : void
UpdateRenderQueue ( RenderQueue queue ) : void
UpdateRenderQueue ( RenderQueue queue, bool updateChildren ) : void

Méthodes protégées

Méthode Description
OverlayElementContainer ( string name ) : System

Don't use directly, create through GuiManager.CreateElement.

dispose ( bool disposeManagedResources ) : void

Method Details

AddChild() public méthode

Adds another OverlayElement to this container.
public AddChild ( OverlayElement element ) : void
element OverlayElement
Résultat void

AddChildContainer() public méthode

Add a nested container to this container.
public AddChildContainer ( OverlayElementContainer container ) : void
container OverlayElementContainer
Résultat void

AddChildElement() public méthode

Adds another OverlayElement to this container.
public AddChildElement ( OverlayElement element ) : void
element OverlayElement
Résultat void

Clone() public méthode

public Clone ( string instanceName ) : OverlayElement
instanceName string
Résultat OverlayElement

CopyFromTemplate() public méthode

public CopyFromTemplate ( OverlayElement templateOverlay ) : void
templateOverlay OverlayElement
Résultat void

FindElementAt() public méthode

public FindElementAt ( float x, float y ) : OverlayElement
x float
y float
Résultat OverlayElement

GetChild() public méthode

Gets the named child of this container.
public GetChild ( string name ) : OverlayElement
name string
Résultat OverlayElement

Initialize() public méthode

public Initialize ( ) : void
Résultat void

NotifyParent() public méthode

public NotifyParent ( OverlayElementContainer parent, Overlay overlay ) : void
parent OverlayElementContainer
overlay Overlay
Résultat void

NotifyViewport() public méthode

public NotifyViewport ( ) : void
Résultat void

NotifyWorldTransforms() public méthode

public NotifyWorldTransforms ( Matrix4 xform ) : void
xform Axiom.Math.Matrix4
Résultat void

NotifyZOrder() public méthode

public NotifyZOrder ( int zOrder ) : int
zOrder int
Résultat int

OverlayElementContainer() protected méthode

Don't use directly, create through GuiManager.CreateElement.
protected OverlayElementContainer ( string name ) : System
name string
Résultat System

PositionsOutOfDate() public méthode

Tell the object and its children to recalculate their positions.
public PositionsOutOfDate ( ) : void
Résultat void

RemoveChild() public méthode

Removes a child element by its name
public RemoveChild ( string name ) : void
name string
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateRenderQueue() public méthode

public UpdateRenderQueue ( RenderQueue queue ) : void
queue Axiom.Graphics.RenderQueue
Résultat void

UpdateRenderQueue() public méthode

public UpdateRenderQueue ( RenderQueue queue, bool updateChildren ) : void
queue Axiom.Graphics.RenderQueue
updateChildren bool
Résultat void

dispose() protected méthode

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
Résultat void

Property Details

childContainers protected_oe property

protected Dictionary childContainers
Résultat OverlayElement>.Dictionary

children protected_oe property

protected Dictionary children
Résultat OverlayElement>.Dictionary

childrenProcessEvents protected_oe property

protected bool childrenProcessEvents
Résultat bool