Urho
1.0.0.0
Urho.Animatable
Scene node that may contain components and child nodes.
Nodes are the building block of your application. Each Node has a 3D transform (position, rotation and scale), a name and an ID and can contain other nodes (child nodes). Your application starts life with a special kind of node, the Scene node.
To bring Nodes to life, you attach one or more components into it (. Components provide functionality from giving a node a visual representation, to emitting sound, to emitting light and many more. These are created either with their constructors and then by attaching them using the method or by calling the method which can do both operations in one call.
Here are some common scenarios, creating a a and a .
();
Renderer.SetViewport(0, Viewport = new Viewport(Context, scene, cameraNode.GetComponent(), null));
// Lights
var lightNode1 = scene.CreateChild();
lightNode1.Position = new Vector3(0, -5, -40);
lightNode1.AddComponent(new Light(Context) { LightType = LightType.Point, Range = 120, Brightness = 1.5f });
// Models
var cache = Application.ResourceCache;
var model = Node.CreateComponent();
model.Model = cache.GetModel ("player.mdl");
var material = cache.GetMaterial("player.xml").Clone("");
model.SetMaterial(material);]]>
Constructor
1.0.0.0
Preserve
Constructs a new instance of Urho.Node which is tied to the .
Constructor
1.0.0.0
Preserve
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.Node, given a raw pointer to an unmanaged object
This creates a new managed wrapper for the type using the raw pointer to an unmanaged object.
Objects that are created in this fashion get registered with the UrhoSharp runtime.
This is intended to be used by the UrhoSharp runtime, and is not intended to be used by users.
Constructor
1.0.0.0
Preserve
The context that this object will be attached to.
Constructs a new instance of Urho.Node linked to a specific .
Constructor
1.0.0.0
Preserve
Pass UrhoObjectFlag.Empty.
Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.
This constructor should be invoked by your code if you provide your own constructor that sets the handle field.
This essentially circumvents the default path that creates a new object and sets the handle and does not call RegisterObject on the target, you must do this on your own constructor.
You would typically chain to this constructor from your own, and then set the handle to the unmanaged object from your code, and then register your object.
Method
1.0.0.0
System.Void
The node to append to the scene.
If index is greater than current children size, append the new child at the end.
Add a child scene node at a specific index.
This appends the child to the end of the list.
The NodeAdded event is raised if the node is currently attached to a scene.
Method
1.0.0.0
System.Void
Component to add.
ID to assign to the component, if zero, the will assign the ID automatically.
Add a pre-created component.
This adds the component and defaults to CreateMode.Replicated for the addition mode.
Method
1.0.0.0
System.Void
Component to add.
ID to assign to the component, if zero, the will assign the ID automatically.
Component and child node creation mode for networking.
Add a pre-created component.
To be added.
Method
1.0.0.0
System.Void
To be added.
Add listener component that is notified of node being dirtied. Can either be in the same node or another.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
The string to associate
Attaches the specified string as a tag to this Node.
Use the to remove this tag, or the method to determine if the element has the specified tag attached.
Event
1.0.0.0
System.Action<Urho.AnimationTriggerEventArgs>
To be added.
The event can register multiple callbacks and invoke all of them. If this is not desired, and you only need a single shot callback, you can use the method. That one will force that callback and will ignore any previously set events here.
Method
1.0.0.0
System.Void
Apply attribute changes that can not be applied immediately recursively to child nodes and components.
To be added.
Event
1.0.0.0
System.Action<Urho.BoneHierarchyCreatedEventArgs>
To be added.
The event can register multiple callbacks and invoke all of them. If this is not desired, and you only need a single shot callback, you can use the method. That one will force that callback and will ignore any previously set events here.
Method
1.0.0.0
System.Void
The new parent for the node.
Changes the parent for the node
Moves the node to a new parent.
Property
1.0.0.0
System.Collections.Generic.IReadOnlyList<Urho.Node>
Return immediate child scene nodes.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Clean up all references to a network connection that is about to be removed.
To be added.
Method
1.0.0.0
Urho.Node
To be added.
Clone scene node, components and child nodes. Return the clone.
To be added.
To be added.
Method
1.0.0.0
Urho.Component
To be added.
To be added.
Clone a component from another node using its create mode. Return the clone if successful or null on failure.
To be added.
To be added.
Method
1.0.0.0
Urho.Component
To be added.
To be added.
To be added.
Clone a component from another node and specify the create mode. Return the clone if successful or null on failure.
To be added.
To be added.
Property
1.0.0.0
System.Collections.Generic.IReadOnlyList<Urho.Component>
Return all components.
To be added.
To be added.
Method
1.0.0.0
Urho.Node
To be added.
To be added.
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
Urho.Node
To be added.
To be added.
To be added.
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
Urho.Component
UrhoType to create.
Creation mode for the component, or Replicated if not specified.
ID to assign to the component, or null if not specified.
Create a component to this node (with specified ID if provided).
Returns the created component. The result will already be attached to the node.
Method
1.0.0.0
T
Urho.Component
To be added.
Creation mode for the component, or Replicated if not specified.
ID to assign to the component, or null if not specified.
Creates a component with the Node’s context and attaches it to the node.
Returns the created component. The result will already be attached to the node.
();
planeObject.Model = cache.GetModel ("Models/Plane.mdl");
planeObject.SetMaterial(cache.GetMaterial("Materials/StoneTiled.xml"));
]]>
Method
1.0.0.0
T
Urho.Component
To be added.
UrhoType to create,
Creation mode for the component, or Replicated if not specified.
ID to assign to the component, or null if not specified.
Creates a component with the Node’s context and attaches it to the node using an UrhoType description.
Returns the created component. The result will already be attached to the node.
(StaticModel.TypeStatic);
planeObject.Model = cache.GetModel ("Models/Plane.mdl");
planeObject.SetMaterial(cache.GetMaterial("Materials/StoneTiled.xml"));
]]>
Method
1.0.0.0
Urho.Node
To be added.
To be added.
To be added.
To be added.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector3
Return forward direction in parent space. Positive Z axis equals identity rotation.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Determines whether transform has changed and world transform needs recalculation.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Controls whether the node is enabled. Disables nodes effectively disable all their components.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Returns the node's last own enabled state. May be different than the value returned by IsEnabled when SetDeepEnabled has been used.
To be added.
To be added.
Method
1.0.0.0
Urho.Node
To be added.
Return child scene node by index.
To be added.
To be added.
Method
1.0.0.0
Urho.Node
To be added.
To be added.
Return child scene node by name.
To be added.
To be added.
Method
1.0.0.0
Urho.Node
To be added.
To be added.
Return child scene node by name hash.
To be added.
To be added.
Method
1.0.0.0
Urho.Node[]
Urho.Component
To be added.
If true, the search includes nested children, otherwise the search is done only on the immediate children of this node.
Returns children nodes that have a specific component attached to it.
Array containing the nodes that have the specified component, or an empty array if there are none.
Returns only exact components of T type. Ignores subclasses of T, for example, GetChildrenWithComponent<StaticModel>() won’t return nodes with AnimatedModel components (AnimatedModels is a subclass of StaticModel).
Method
1.0.0.0
Urho.Node[]
To be added.
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
Urho.Component
The type of the component to lookup.
If , this performs a recursive search on the child nodes of this node.
Return component by type. If there are several, returns the first.
The component of the specified , if found, otherwise .
This method searches the current node for a component with an urho component type of . This will either search only the components attached to this node if recursive is set to , or it will search for the component recursive on all the children nodes attached to this node.
Method
1.0.0.0
T
Urho.Component
To be added.
If , this performs a recursive search on the child nodes of this node.
Return the component of the specified T parameters. If there are several, returns the first.
The component of the specified , if found, otherwise .
This method searches the current node for a component with an urho component type . This will either search only the components attached to this node if recursive is set to , or it will search for the component recursive on all the children nodes attached to this node.
Method
1.0.0.0
System.UInt32
To be added.
Return number of child scene nodes.
To be added.
To be added.
Method
1.0.0.0
Urho.Component
Type name of the component to create.
Component and child node creation mode for networking.
The identifier to assign to the component if it must be created.
Create a component to this node if it does not exist already.
Returns the component of the specified that was either located, or that was created.
This method calls the method to perform the search, if the component is not found, then it calls method with the specified , and .
Method
1.0.0.0
T
Urho.Component
To be added.
If , this performs a recursive search on the child nodes of this node.
Create a component to this node if it does not exist already.
Returns the component of the specified that was either located, or that was created.
This method calls the method to perform the search, if the component is not found, then it calls method
Method
1.0.0.0
Urho.Component
To be added.
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
Return whether has a specific component.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
The tag to check
Determines if the node has the specified tag attached to it.
if it does, otherwise.
Use the to add a tag to the node and to remove it.
Property
1.0.0.0
System.UInt32
Return ID.
Or
Set ID. Called by Scene.
ID assigned to this node.
You should ideally have unique IDs.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
Urho.Vector3
To be added.
Convert a local space position to world space.
To be added.
To be added.
Method
1.0.0.0
Urho.Vector3
To be added.
Convert a local space position or rotation to world space.
To be added.
To be added.
Method
1.0.0.0
Urho.Vector2
To be added.
Convert a local space position or rotation to world space (for Urho2D).
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
Look at a target position in the chosen transform space. Note that the up vector is always specified in world space. Return true if successful, or false if resulted in an illegal rotation, in which case the current rotation remains.
To be added.
To be added.
Method
1.0.0.0
System.Void
Mark node and child nodes to need world transform recalculation. Notify listener components.
To be added.
Method
1.0.0.0
System.Void
Mark for attribute check on the next network update.
To be added.
Method
1.0.0.0
System.Void
Mark node dirty in scene replication states.
To be added.
Property
1.0.0.0
System.String
Return name.
Or
Set name of the scene node. Names are not required to be unique.
To be added.
To be added.
Property
1.0.0.0
Urho.StringHash
Return name hash.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector3
Return network position attribute.
Or
Set network position attribute.
To be added.
To be added.
Event
1.0.0.0
System.Action<Urho.NodeCollisionEventArgs>
To be added.
The event can register multiple callbacks and invoke all of them. If this is not desired, and you only need a single shot callback, you can use the method. That one will force that callback and will ignore any previously set events here.
Event
1.0.0.0
System.Action<Urho.NodeCollisionEndEventArgs>
To be added.
The event can register multiple callbacks and invoke all of them. If this is not desired, and you only need a single shot callback, you can use the method. That one will force that callback and will ignore any previously set events here.
Event
1.0.0.0
System.Action<Urho.NodeCollisionStartEventArgs>
To be added.
The event can register multiple callbacks and invoke all of them. If this is not desired, and you only need a single shot callback, you can use the method. That one will force that callback and will ignore any previously set events here.
Property
1.0.0.0
System.UInt32
Return number of components.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return number of non-local components.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Calculate number of non-temporary child nodes.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Calculate number of non-temporary components.
To be added.
To be added.
Property
1.0.0.0
Urho.Network.Connection
Return owner connection in networking.
Or
Set owner connection for networking.
To be added.
To be added.
Property
1.0.0.0
Urho.Node
Return parent scene node.
Or
Set parent scene node. Retains the world transform.
To be added.
To be added.
Method
1.0.0.0
System.Void
Pauses all actions that have been started with .
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Rotate around the X axis.
To be added.
Property
1.0.0.0
Urho.Vector3
Return position in parent space.
Or
Set position in parent space. If the scene node is on the root level (is child of the scene itself), this is same as world space.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector2
Return position in parent space (for Urho2D).
To be added.
To be added.
Method
1.0.0.0
System.Void
Prepare network update by comparing attributes and marking replication states dirty as necessary.
To be added.
Method
1.0.0.0
System.Void
To be added.
Register object factory.
To be added.
Method
1.0.0.0
System.Void
Remove from the parent node. If no other shared pointer references exist, causes immediate deletion.
If you want to move the node to another node, you can use the method.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
Removes all actions that have been started with .
To be added.
Method
1.0.0.0
System.Void
Remove all child scene nodes.
To be added.
Method
1.0.0.0
System.Void
Remove all components from this node.
To be added.
Method
1.0.0.0
System.Void
Removes all tags that have been associated with the node.
Method
1.0.0.0
System.Void
To be added.
Remove a child scene node.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Remove child scene nodes that match criteria.
To be added.
Method
1.0.0.0
System.Void
To be added.
Remove a component from this node.
To be added.
Method
1.0.0.0
System.Void
To be added.
Remove the first component of specific type from this node.
To be added.
Method
1.0.0.0
System.Void
To be added.
Removes the component of the specified type.
To be added.
Method
1.0.0.0
System.Void
To be added.
Remove all components of specific type.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Remove components that match criteria.
To be added.
Method
1.0.0.0
System.Void
To be added.
Remove listener component.
To be added.
Method
1.0.0.0
System.Boolean
Tag to remove from the node.
Removes a string tag from the Node.
if the tag exited on the node, otherwise.
Use the to add a tag to the node and to probe if it is attached.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
Reset enabled state to the node's remembered state prior to calling SetDeepEnabled.
To be added.
Method
1.0.0.0
System.Void
Reset scene, ID and owner. Called by Scene.
To be added.
Method
1.0.0.0
System.Void
Resumes all actions that have been started with .
To be added.
Property
1.0.0.0
Urho.Vector3
Return right direction in parent space. Positive X axis equals identity rotation.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Rotate around the Z axis.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Rotate the scene node in the chosen transform space.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Rotate the scene node in the chosen transform space (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Rotate around a point in the chosen transform space.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Rotate around a point in the chosen transform space (for Urho2D).
To be added.
Property
1.0.0.0
Urho.Quaternion
Return rotation in parent space.
Or
Set rotation in parent space.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return rotation in parent space (for Urho2D).
Or
Set rotation in parent space (for Urho2D).
To be added.
To be added.
Method
1.0.0.0
System.Void
System.ParamArray
Actions to execute.
Runs the specified actions.
The actions are groupped in a Sequence action.
Method
1.0.0.0
System.Threading.Tasks.Task<Urho.Actions.ActionState>
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Threading.Tasks.Task<Urho.Actions.ActionState>
System.ParamArray
An array of FiniteTimeAction objects.
Runs a sequence of Actions so that it can be awaited.
Task representing the actions.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Return whether should save default-valued attributes into XML. Always save node transforms for readability, even if identity.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Where the json is stored at.
Indentation to use for the data.
Saves the entire node as a prefab as Json data.
Returns on success.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
The destiation to store the node on.
Saves the entire node as a prefab into the provided XmlElement.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector3
Return scale in parent space.
Or
Set scale in parent space.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector2
Return scale in parent space (for Urho2D).
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Modify scale in parent space uniformly.
To be added.
Method
1.0.0.0
System.Void
To be added.
Modify scale in parent space.
To be added.
Method
1.0.0.0
System.Void
To be added.
Modify scale in parent space (for Urho2D).
To be added.
Property
1.0.0.0
Urho.Scene
Return scene.
Or
Set scene. Called by Scene.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set enabled state on self and child nodes. Nodes' own enabled state is remembered (IsEnabledSelf) and can be restored.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set forward direction in parent space. Positive Z axis equals identity rotation.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set enabled state on self and child nodes. Unlike SetDeepEnabled this does not remember the nodes' own enabled state, but overwrites it.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set position in parent space (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set position in parent space (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
Updates the position but does not flag the node as dirty, nor as requiring a network update.
To be added.
Method
1.0.0.0
System.Void
To be added.
Sets the rotation but does not flag the node as dirty, nor as requiring a network update.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set uniform scale in parent space.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set scale in parent space (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set scale in parent space (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
Sets the scale but does not flag the node as dirty, nor as requiring a network update.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set both position and rotation in parent space as an atomic operation. This is faster than setting position and rotation separately.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set both position, rotation and uniform scale in parent space as an atomic operation.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set both position, rotation and scale in parent space as an atomic operation.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set both position and rotation in parent space as an atomic operation (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set both position, rotation and uniform scale in parent space as an atomic operation (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set both position, rotation and scale in parent space as an atomic operation (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Sets the node transform but does not flag the node as dirty, nor as requiring a network update.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set a user variable.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set a user variable.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set a user variable.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set a user variable.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set a user variable.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set a user variable.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set a user variable.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set a user variable.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set a user variable.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set a user variable.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set forward direction in world space.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set position in world space.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set position in world space (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set position in world space (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
Set rotation in world space.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set uniform scale in world space.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set scale in world space.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set scale in world space (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set scale in world space (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set both position and rotation in world space as an atomic operation.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set both position, rotation and uniform scale in world space as an atomic operation.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set both position, rotation and scale in world space as an atomic opration.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set both position and rotation in world space as an atomic operation (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set both position, rotation and uniform scale in world space as an atomic operation (for Urho2D).
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set both position, rotation and scale in world space as an atomic opration (for Urho2D).
To be added.
Property
1.0.0.0
Urho.Vector3
Return signed scale in world space. Utilized for Urho2D physics.
To be added.
To be added.
Method
1.0.0.0
System.Obsolete("SubscribeTo API may lead to unxpected behaviour and will be removed in a future version. Use C# event '.AnimationTrigger += ...' instead.")
Urho.Subscription
The handler to invoke when this event is raised.
Subscribes to the AnimationTrigger event raised by the Node.
Returns an Urho.Subscription that can be used to cancel the subscription.
This method will override any prior subscription, including those assigned to on event handlers.
This has the advantage that it does a straight connection and returns a handle that is easy to unsubscribe from.
For a more event-like approach, use the event.
Method
1.0.0.0
System.Obsolete("SubscribeTo API may lead to unxpected behaviour and will be removed in a future version. Use C# event '.BoneHierarchyCreated += ...' instead.")
Urho.Subscription
The handler to invoke when this event is raised.
Subscribes to the BoneHierarchyCreated event raised by the Node.
Returns an Urho.Subscription that can be used to cancel the subscription.
This method will override any prior subscription, including those assigned to on event handlers.
This has the advantage that it does a straight connection and returns a handle that is easy to unsubscribe from.
For a more event-like approach, use the event.
Method
1.0.0.0
System.Obsolete("SubscribeTo API may lead to unxpected behaviour and will be removed in a future version. Use C# event '.NodeCollision += ...' instead.")
Urho.Subscription
The handler to invoke when this event is raised.
Subscribes to the NodeCollision event raised by the Node.
Returns an Urho.Subscription that can be used to cancel the subscription.
This method will override any prior subscription, including those assigned to on event handlers.
This has the advantage that it does a straight connection and returns a handle that is easy to unsubscribe from.
For a more event-like approach, use the event.
Method
1.0.0.0
System.Obsolete("SubscribeTo API may lead to unxpected behaviour and will be removed in a future version. Use C# event '.NodeCollisionEnd += ...' instead.")
Urho.Subscription
The handler to invoke when this event is raised.
Subscribes to the NodeCollisionEnd event raised by the Node.
Returns an Urho.Subscription that can be used to cancel the subscription.
This method will override any prior subscription, including those assigned to on event handlers.
This has the advantage that it does a straight connection and returns a handle that is easy to unsubscribe from.
For a more event-like approach, use the event.
Method
1.0.0.0
System.Obsolete("SubscribeTo API may lead to unxpected behaviour and will be removed in a future version. Use C# event '.NodeCollisionStart += ...' instead.")
Urho.Subscription
The handler to invoke when this event is raised.
Subscribes to the NodeCollisionStart event raised by the Node.
Returns an Urho.Subscription that can be used to cancel the subscription.
This method will override any prior subscription, including those assigned to on event handlers.
This has the advantage that it does a straight connection and returns a handle that is easy to unsubscribe from.
For a more event-like approach, use the event.
Property
1.0.0.0
Urho.Matrix3x4
Return parent space transform matrix.
To be added.
To be added.
Method
1.0.0.0
System.Void
The translation delta to apply.
To be added.
Move the scene node in the chosen transform space.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Move the scene node in the chosen transform space (for Urho2D).
To be added.
Property
1.0.0.0
Urho.StringHash
Urho's type system type.
StringHash representing the type for this C# type.
This returns the Urho's type and is surfaced for low-level Urho code.
Property
1.0.0.0
System.String
Urho's low-level type name.
Stringified low-level type name.
Property
1.0.0.0
System.String
Urho's low-level type name, accessible as a static method.
Stringified low-level type name.
Property
1.0.0.0
Preserve
Urho.StringHash
Urho's low-level type, accessible as a static method.
This returns the Urho's type and is surface for the low-level Urho code.
Property
1.0.0.0
Urho.Vector3
Return up direction in parent space. Positive Y axis equals identity rotation.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector3
Return direction in world space.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector3
Return position in world space.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector2
Return position in world space (for Urho2D).
To be added.
To be added.
Property
1.0.0.0
Urho.Vector3
Return node's right vector in world space.
To be added.
To be added.
Property
1.0.0.0
Urho.Quaternion
Return rotation in world space.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return rotation in world space (for Urho2D).
Or
Set rotation in world space (for Urho2D).
To be added.
To be added.
Property
1.0.0.0
Urho.Vector3
Return scale in world space.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector2
Return scale in world space (for Urho2D).
To be added.
To be added.
Method
1.0.0.0
Urho.Vector3
To be added.
Convert a world space position to local space.
To be added.
To be added.
Method
1.0.0.0
Urho.Vector3
To be added.
Convert a world space position or rotation to local space.
To be added.
To be added.
Method
1.0.0.0
Urho.Vector2
To be added.
Convert a world space position or rotation to local space (for Urho2D).
To be added.
To be added.
Property
1.0.0.0
Urho.Matrix3x4
Return world space transform matrix.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector3
Return node's up vector in world space.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Rotate around the Y axis.
To be added.