C# Класс 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.

Наследование: OverlayElement
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
childContainers OverlayElement>.Dictionary
children OverlayElement>.Dictionary
childrenProcessEvents bool

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
OverlayElementContainer ( string name ) : System

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

dispose ( bool disposeManagedResources ) : void

Описание методов

AddChild() публичный метод

Adds another OverlayElement to this container.
public AddChild ( OverlayElement element ) : void
element OverlayElement
Результат void

AddChildContainer() публичный метод

Add a nested container to this container.
public AddChildContainer ( OverlayElementContainer container ) : void
container OverlayElementContainer
Результат void

AddChildElement() публичный метод

Adds another OverlayElement to this container.
public AddChildElement ( OverlayElement element ) : void
element OverlayElement
Результат void

Clone() публичный метод

public Clone ( string instanceName ) : OverlayElement
instanceName string
Результат OverlayElement

CopyFromTemplate() публичный метод

public CopyFromTemplate ( OverlayElement templateOverlay ) : void
templateOverlay OverlayElement
Результат void

FindElementAt() публичный метод

public FindElementAt ( float x, float y ) : OverlayElement
x float
y float
Результат OverlayElement

GetChild() публичный метод

Gets the named child of this container.
public GetChild ( string name ) : OverlayElement
name string
Результат OverlayElement

Initialize() публичный метод

public Initialize ( ) : void
Результат void

NotifyParent() публичный метод

public NotifyParent ( OverlayElementContainer parent, Overlay overlay ) : void
parent OverlayElementContainer
overlay Overlay
Результат void

NotifyViewport() публичный метод

public NotifyViewport ( ) : void
Результат void

NotifyWorldTransforms() публичный метод

public NotifyWorldTransforms ( Matrix4 xform ) : void
xform Axiom.Math.Matrix4
Результат void

NotifyZOrder() публичный метод

public NotifyZOrder ( int zOrder ) : int
zOrder int
Результат int

OverlayElementContainer() защищенный метод

Don't use directly, create through GuiManager.CreateElement.
protected OverlayElementContainer ( string name ) : System
name string
Результат System

PositionsOutOfDate() публичный метод

Tell the object and its children to recalculate their positions.
public PositionsOutOfDate ( ) : void
Результат void

RemoveChild() публичный метод

Removes a child element by its name
public RemoveChild ( string name ) : void
name string
Результат void

Update() публичный метод

public Update ( ) : void
Результат void

UpdateRenderQueue() публичный метод

public UpdateRenderQueue ( RenderQueue queue ) : void
queue Axiom.Graphics.RenderQueue
Результат void

UpdateRenderQueue() публичный метод

public UpdateRenderQueue ( RenderQueue queue, bool updateChildren ) : void
queue Axiom.Graphics.RenderQueue
updateChildren bool
Результат void

dispose() защищенный метод

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
Результат void

Описание свойств

childContainers защищенное свойство

protected Dictionary childContainers
Результат OverlayElement>.Dictionary

children защищенное свойство

protected Dictionary children
Результат OverlayElement>.Dictionary

childrenProcessEvents защищенное свойство

protected bool childrenProcessEvents
Результат bool