AtomicNET : AtomicEngine Namespace

Context Class

Urho3D execution context. Provides access to subsystems, object factories and attributes, and event receivers.

Syntax

public class Context : RefCounted

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from RefCounted.

Public Constructors

Documentation for this section has not yet been entered.
Construct.

Public Fields

nativeInstance IntPtr . Documentation for this section has not yet been entered. (Inherited from RefCounted.)

Public Properties

EditorContext bool . Documentation for this section has not yet been entered.
[read-only]
EventSender AObject . Documentation for this section has not yet been entered.
InstantiationType InstantiationType . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
[read-only]
NativeInstance IntPtr . Documentation for this section has not yet been entered. (Inherited from RefCounted.)
[read-only]
TypeName string . Documentation for this section has not yet been entered. (Inherited from RefCounted.)

Public Methods

AddRef ()
Increment reference count. Can also be called outside of a SharedPtr for traditional reference counting. (Inherited from RefCounted.)
AddRefSilent ()
Increment reference count. Do not call any lifetime book keeping (Inherited from RefCounted.)
CopyBaseAttributes (StringHash, StringHash)
Copy base class attributes to derived class.
CreateObject (StringHash) : AObject
Create an object by type hash. Return pointer to it or null if no factory found.
static
csb_Atomic_Context_GetClassIDStatic () : IntPtr
Documentation for this section has not yet been entered.
GetEditorContext () : bool
Get whether an Editor Context
GetEventSender () : AObject
Return active event sender. Null outside event handling.
GetInstantiationType () : InstantiationType
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
GetSubsystem (StringHash) : AObject
Return subsystem by type.
GetTypeName () : string
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
IsObject () : bool
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
Refs () : int
Return reference count. (Inherited from RefCounted.)
RegisterSubsystem (AObject)
Register a subsystem.
ReleaseRef ()
Decrement reference count and delete self if no more references. Can also be called outside of a SharedPtr for traditional reference counting. (Inherited from RefCounted.)
RemoveSubsystem (StringHash)
Remove a subsystem.
SetEditorContext (bool)
Get whether an Editor Context
SetInstantiationType (InstantiationType)
Documentation for this section has not yet been entered. (Inherited from RefCounted.)
WeakRefs () : int
Return weak reference count. (Inherited from RefCounted.)

Member Details

Context Constructor

Documentation for this section has not yet been entered.

Syntax

public Context ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Context Constructor

Construct.

Syntax

public Context (IntPtr native)

Parameters

native
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CopyBaseAttributes Method

Copy base class attributes to derived class.

Syntax

public void CopyBaseAttributes (StringHash baseType, StringHash derivedType)

Parameters

baseType
Documentation for this section has not yet been entered.
derivedType
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CreateObject Method

Create an object by type hash. Return pointer to it or null if no factory found.

Syntax

public AObject CreateObject (StringHash objectType)

Parameters

objectType
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

csb_Atomic_Context_GetClassIDStatic Method

Documentation for this section has not yet been entered.

Syntax

public static IntPtr csb_Atomic_Context_GetClassIDStatic ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

EditorContext Property

Documentation for this section has not yet been entered.

Syntax

public bool EditorContext { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

EventSender Property

Documentation for this section has not yet been entered.

Syntax

public AObject EventSender { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetEditorContext Method

Get whether an Editor Context

Syntax

public bool GetEditorContext ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetEventSender Method

Return active event sender. Null outside event handling.

Syntax

public AObject GetEventSender ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetSubsystem Method

Return subsystem by type.

Syntax

public AObject GetSubsystem (StringHash type)

Parameters

type
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

RegisterSubsystem Method

Register a subsystem.

Syntax

public void RegisterSubsystem (AObject subsystem)

Parameters

subsystem
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

RemoveSubsystem Method

Remove a subsystem.

Syntax

public void RemoveSubsystem (StringHash objectType)

Parameters

objectType
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SetEditorContext Method

Get whether an Editor Context

Syntax

public void SetEditorContext (bool editor)

Parameters

editor
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0