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
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0
The members of Urho.Octree are listed below.
See Also: Component
Public Constructors
Protected Constructors
Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field. |
Public Properties
[read-only] | NumLevels | UInt32. Return subdivision levels. |
[read-only] override | Type | StringHash. Urho's type system type. |
[read-only] override | TypeName | String. Urho's low-level type name. |
[read-only] static | TypeNameStatic | String. Urho's low-level type name, accessible as a static method. |
[read-only] static | TypeStatic | StringHash. 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) | ||
RaycastSingle(Ray, RayQueryLevel, Single, DrawableFlags, UInt32) | ||
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. |