Urho.Octree Class

Octree component that implements spacial partitioning

See Also: Octree

Syntax

public class Octree : Component

Remarks

Implements spatial partitioning and accelerated visibility queries. Without this 3D objects can not be rendered.

Should be added only to the root scene node.

Requirements

Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.Octree are listed below.

See Also: Component

Public Constructors

Constructs a new instance of Urho.Octree which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Octree, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Octree linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

[read-only]
NumLevelsUInt32. Return subdivision levels.
[read-only]
override
TypeStringHash. Urho's type system type.
[read-only]
override
TypeNameString. Urho's low-level type name.
[read-only]
static
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
[read-only]
static
TypeStaticStringHash. Urho's low-level type, accessible as a static method.

Public Methods

AddManualDrawable(Drawable)
Add a drawable manually.
CancelUpdate(Drawable)
Cancel drawable object's update.
DrawDebugGeometry(Boolean)
Visualize the component as debug geometry.
override
DrawDebugGeometry(DebugRenderer, Boolean)
Visualize the component as debug geometry.
QueueUpdate(Drawable)
Mark drawable object as requiring an update and a reinsertion.
Raycast(Ray, RayQueryLevel, Single, DrawableFlags, UInt32) : List<RayQueryResult>
RaycastSingle(Ray, RayQueryLevel, Single, DrawableFlags, UInt32) : Nullable<RayQueryResult>
static
RegisterObject(Context)
Register object factory.
RemoveManualDrawable(Drawable)
Remove a manually added drawable.
SetSize(BoundingBox, UInt32)
Set size and maximum subdivision levels. If octree is not empty, drawable objects will be temporarily moved to the root.