Urho.Scene: Method Members

The methods of Urho.Scene are listed below. For a list of all members, see the Scene list.

See Also: Node

Public Methods

override
AddReplicationState(NodeReplicationState*)
AddRequiredPackageFile(PackageFile)
Add a required package file for networking. To be called on the server.
BeginThreadedUpdate()
Begin a threaded update. During threaded update components can choose to delay dirty processing.
override
CleanupConnection(Connection)
Clean up all references to a network connection that is about to be removed.
Clear(Boolean, Boolean)
Clear scene completely of either replicated, local or all nodes and components.
ClearRequiredPackageFiles()
Clear required package files.
DelayedMarkedDirty(Component)
Add a component to the delayed dirty notify queue. Is thread-safe.
EndThreadedUpdate()
End a threaded update. Notify components that marked themselves for delayed dirty processing.
GetComponent(UInt32) : Component
Return component from the whole scene by ID, or null if not found.
GetFreeComponentID(CreateMode) : UInt32
Get free component ID, either non-local or local.
GetFreeNodeID(CreateMode) : UInt32
Get free node ID, either non-local or local.
GetNode(UInt32) : Node
Return node from the whole scene by ID, or null if not found.
GetVarName(StringHash) : String
Return a node user variable name, or empty if not registered.
Instantiate(File, Vector3, Quaternion, CreateMode) : Node
Instantiate(MemoryBuffer, Vector3, Quaternion, CreateMode) : Node
InstantiateJson(File, Vector3, Quaternion, CreateMode) : Node
Instantiate scene content from JSON data. 
InstantiateJson(MemoryBuffer, Vector3, Quaternion, CreateMode) : Node
InstantiateXml(File, Vector3, Quaternion, CreateMode) : Node
Instantiate scene content from serialized XML data.
InstantiateXml(MemoryBuffer, Vector3, Quaternion, CreateMode) : Node
InstantiateXml(XmlElement, Vector3, Quaternion, CreateMode) : Node
Instantiate scene content from serialized XML data.
override
Load(File, Boolean) : Boolean
override
Load(MemoryBuffer, Boolean) : Boolean
LoadAsync(File, LoadMode) : Boolean
Load from a binary file asynchronously. Return true if started successfully. The LOAD_RESOURCES_ONLY mode can also be used to preload resources from object prefab files.
LoadAsyncJson(File, LoadMode) : Boolean
LoadAsyncXml(File, LoadMode) : Boolean
LoadJson(File) : Boolean
LoadJson(MemoryBuffer) : Boolean
LoadXml(String) : Boolean
LoadXml(File) : Boolean
LoadXml(MemoryBuffer) : Boolean
override
LoadXml(XmlElement, Boolean) : Boolean
LoadXmlFromCache(ResourceCache, String) : Boolean
override
MarkNetworkUpdate()
Mark for attribute check on the next network update.
MarkNetworkUpdate(Component)
Mark a comoponent for attribute check on the next network update.
MarkNetworkUpdate(Node)
Mark a node for attribute check on the next network update.
MarkReplicationDirty(Node)
Mark a node dirty in scene replication states. The node does not need to have own replication state yet.
NodeTagAdded(Node, String)
NodeTagRemoved(Node, String)
override
PrepareNetworkUpdate()
Prepare network update by comparing attributes and marking replication states dirty as necessary.
static
RegisterObject(Context)
Register object factory. Node must be registered first.
RegisterVar(String)
Register a node user variable hash reverse mapping (for editing.)
override
Save(File) : Boolean
override
Save(MemoryBuffer) : Boolean
override
SaveJson(File, String) : Boolean
override
SaveJson(MemoryBuffer, String) : Boolean
SaveXml(String, String) : Boolean
override
SaveXml(File, String) : Boolean
override
SaveXml(MemoryBuffer, String) : Boolean
SetVarNamesAttr(String)
Set node user variable reverse mappings.
StopAsyncLoading()
Stop asynchronous loading.
SubscribeToAsyncLoadFinished(Action<AsyncLoadFinishedEventArgs>) : Subscription
Subscribes to the AsyncLoadFinished event raised by the Scene.
SubscribeToAsyncLoadProgress(Action<AsyncLoadProgressEventArgs>) : Subscription
Subscribes to the AsyncLoadProgress event raised by the Scene.
SubscribeToAttributeAnimationUpdate(Action<AttributeAnimationUpdateEventArgs>) : Subscription
Subscribes to the AttributeAnimationUpdate event raised by the Scene.
SubscribeToComponentAdded(Action<ComponentAddedEventArgs>) : Subscription
Subscribes to the ComponentAdded event raised by the Scene.
SubscribeToComponentCloned(Action<ComponentClonedEventArgs>) : Subscription
SubscribeToComponentEnabledChanged(Action<ComponentEnabledChangedEventArgs>) : Subscription
Subscribes to the ComponentEnabledChanged event raised by the Scene.
SubscribeToComponentRemoved(Action<ComponentRemovedEventArgs>) : Subscription
Subscribes to the ComponentRemoved event raised by the Scene.
SubscribeToNodeAdded(Action<NodeAddedEventArgs>) : Subscription
Subscribes to the NodeAdded event raised by the Scene.
SubscribeToNodeCloned(Action<NodeClonedEventArgs>) : Subscription
SubscribeToNodeEnabledChanged(Action<NodeEnabledChangedEventArgs>) : Subscription
Subscribes to the NodeEnabledChanged event raised by the Scene.
SubscribeToNodeNameChanged(Action<NodeNameChangedEventArgs>) : Subscription
Subscribes to the NodeNameChanged event raised by the Scene.
SubscribeToNodeRemoved(Action<NodeRemovedEventArgs>) : Subscription
Subscribes to the NodeRemoved event raised by the Scene.
SubscribeToSceneDrawableUpdateFinished(Action<SceneDrawableUpdateFinishedEventArgs>) : Subscription
Subscribes to the SceneDrawableUpdateFinished event raised by the Scene.
SubscribeToScenePostUpdate(Action<ScenePostUpdateEventArgs>) : Subscription
Subscribes to the ScenePostUpdate event raised by the Scene.
SubscribeToSceneSubsystemUpdate(Action<SceneSubsystemUpdateEventArgs>) : Subscription
Subscribes to the SceneSubsystemUpdate event raised by the Scene.
SubscribeToSceneUpdate(Action<SceneUpdateEventArgs>) : Subscription
Subscribes to the SceneUpdate event raised by the Scene.
SubscribeToUpdateSmoothing(Action<UpdateSmoothingEventArgs>) : Subscription
Subscribes to the UpdateSmoothing event raised by the Scene.
UnregisterAllVars()
Clear all registered node user variable hash reverse mappings.
UnregisterVar(String)
Unregister a node user variable hash reverse mapping.
Update(Single)
Update scene. Called by HandleUpdate.

Protected Methods

override
OnDeleted()