Urho
1.0.0.0
Urho.Component
Helper base class for user-defined game logic components that hooks up to update events and forwards them to virtual functions similar to ScriptInstance class.
To be added.
Constructor
1.0.0.0
Constructs a new instance of Urho.LogicComponent which is tied to the .
Constructor
1.0.0.0
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.LogicComponent, 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
The context that this object will be attached to.
Constructs a new instance of Urho.LogicComponent linked to a specific .
Constructor
1.0.0.0
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
Called before the first update. At this point all other components of the node should exist. Will also be called if update events are not wanted; in that case the event is immediately unsubscribed afterward.
To be added.
Property
1.0.0.0
System.Boolean
Return whether the DelayedStart() function has been called.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Called on physics post-update, fixed timestep.
To be added.
Method
1.0.0.0
System.Void
To be added.
Called on physics update, fixed timestep.
To be added.
Method
1.0.0.0
System.Void
Handle enabled/disabled state change. Changes update event subscription.
To be added.
Method
1.0.0.0
System.Void
To be added.
Called on scene post-update, variable timestep.
To be added.
Method
1.0.0.0
System.Void
Called when the component is added to a scene node. Other components may not yet exist.
To be added.
Method
1.0.0.0
System.Void
Called when the component is detached from a scene node, usually on destruction. Note that you will no longer have access to the node and scene at that point.
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
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.
Method
1.0.0.0
System.Void
To be added.
Called on scene update, variable timestep.
To be added.
Property
1.0.0.0
System.Byte
Return what update events are subscribed to.
Or
Set what update events should be subscribed to. Use this for optimization: by default all are in use. Note that this is not an attribute and is not saved or network-serialized, therefore it should always be called eg. in the subclass constructor.
To be added.
To be added.