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
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

보호된 프로퍼티들

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