Urho
1.0.0.0
Urho.Component
Navigation mesh component. Collects the navigation geometry from child nodes with the Navigable component and responds to path queries.
To be added.
Constructor
1.0.0.0
Preserve
Constructs a new instance of Urho.Navigation.NavigationMesh which is tied to the .
Constructor
1.0.0.0
Preserve
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.Navigation.NavigationMesh, 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.Navigation.NavigationMesh 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.
Property
1.0.0.0
System.Single
Return navigation agent height.
Or
Set navigation agent height.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return navigation agent max vertical climb.
Or
Set navigation agent max vertical climb.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return navigation agent max slope.
Or
Set navigation agent max slope.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return navigation agent radius.
Or
Set navigation agent radius.
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.BoundingBox
Return local space bounding box of the navigation mesh.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Rebuild the navigation mesh. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
Rebuild part of the navigation mesh contained by the world-space bounding box. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
Rebuild the navigation mesh. Return true if successful.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return cell height.
Or
Set cell height.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return cell size.
Or
Set cell size.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return detail sampling distance.
Or
Set detail sampling distance.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return detail sampling maximum error.
Or
Set detail sampling maximum error.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Add debug geometry to the debug renderer.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Visualize the component as debug geometry.
To be added.
Property
1.0.0.0
System.Boolean
Return whether to draw NavArea components.
Or
Draw debug geometry for NavArea components.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether to draw OffMeshConnection components.
Or
Draw debug geometry for OffMeshConnection components.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return edge max error.
Or
Set edge max error.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return edge max length.
Or
Set edge max length.
To be added.
To be added.
Method
1.0.0.0
Urho.Vector3
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.
To be added.
To be added.
To be added.
Find the nearest point on the navigation mesh to a given point. Extents specifies how far out from the specified point to check along each axis.
To be added.
To be added.
Method
1.0.0.0
Urho.Vector3[]
To be added.
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Single
To be added.
Get the current cost of an area
To be added.
To be added.
Method
1.0.0.0
System.Single
To be added.
To be added.
To be added.
To be added.
To be added.
To be added.
Return distance to wall from a point. Maximum search radius must be specified.
To be added.
To be added.
Method
1.0.0.0
Urho.Vector3
To be added.
To be added.
Return a random point on the navigation mesh.
To be added.
To be added.
Method
1.0.0.0
Urho.Vector3
To be added.
To be added.
To be added.
To be added.
To be added.
Return a random point on the navigation mesh within a circle. The circle radius is only a guideline and in practice the returned point may be further away.
To be added.
To be added.
Method
1.0.0.0
Urho.BoundingBox
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
Urho.IntVector2
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.
Property
1.0.0.0
System.Boolean
Return whether has been initialized with valid navigation data.
To be added.
To be added.
Property
1.0.0.0
System.String
Return the given name of this navigation mesh.
To be added.
To be added.
Method
1.0.0.0
Urho.Vector3
To be added.
To be added.
To be added.
To be added.
To be added.
Try to move along the surface from one point to another.
To be added.
To be added.
Event
1.0.0.0
System.Action<Urho.Navigation.NavigationAreaRebuiltEventArgs>
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.Navigation.NavigationMeshRebuiltEventArgs>
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
Urho.IntVector2
Return number of tiles.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector3
Return navigation mesh bounding box padding.
Or
Set padding of the navigation mesh bounding box. Having enough padding allows to add geometry on the extremities of the navigation mesh when doing partial rebuilds.
To be added.
To be added.
Property
1.0.0.0
Urho.Navigation.NavmeshPartitionType
Return Partition Type.
Or
Set the partition type used for polygon generation.
To be added.
To be added.
Method
1.0.0.0
Urho.Vector3
To be added.
To be added.
To be added.
To be added.
To be added.
Perform a walkability raycast on the navigation mesh between start and end and return the point where a wall was hit, or the end point if no walls.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return region merge size.
Or
Set region merge size.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return region minimum size.
Or
Set region minimum size.
To be added.
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 all tiles from navigation mesh.
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 the cost of an area.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set the name of this navigation mesh.
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 '.NavigationAreaRebuilt += ...' instead.")
Urho.Subscription
The handler to invoke when this event is raised.
Subscribes to the NavigationAreaRebuilt event raised by the NavigationMesh.
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 '.NavigationMeshRebuilt += ...' instead.")
Urho.Subscription
The handler to invoke when this event is raised.
Subscribes to the NavigationMeshRebuilt event raised by the NavigationMesh.
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
System.Int32
Return tile size.
Or
Set tile size.
To be added.
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.BoundingBox
Return world space bounding box of the navigation mesh.
To be added.
To be added.