Urho.TerrainPatch Class

Individually rendered part of a heightmap terrain.

See Also: TerrainPatch

Syntax

public class TerrainPatch : Drawable

Requirements

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

The members of Urho.TerrainPatch are listed below.

See Also: Drawable

Public Constructors

Constructs a new instance of Urho.TerrainPatch which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.TerrainPatch, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.TerrainPatch 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

CoordinatesIntVector2. Return patch coordinates. Or Set patch coordinates.
[read-only]
EastPatchTerrainPatch. Return east neighbor patch.
[read-only]
GeometryGeometry. Return visible geometry.
[read-only]
LodLevelUInt32. Return current LOD level.
[read-only]
MaxLodGeometryGeometry. Return max LOD geometry. Used for decals.
[read-only]
NorthPatchTerrainPatch. Return north neighbor patch.
[read-only]
override
NumOccluderTrianglesUInt32. Return number of occlusion geometry triangles.
[read-only]
OcclusionGeometryGeometry. Return geometry used for occlusion.
OwnerTerrain. Return owner terrain. Or Set owner terrain.
[read-only]
SouthPatchTerrainPatch. Return south neighbor patch.
[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.
[read-only]
override
UpdateGeometryTypeUpdateGeometryType. Return whether a geometry update is necessary, and if it can happen in a worker thread.
[read-only]
VertexBufferVertexBuffer. Return vertex buffer.
[read-only]
WestPatchTerrainPatch. Return west neighbor patch.

Public Methods

override
DrawDebugGeometry(DebugRenderer, Boolean)
Visualize the component as debug geometry.
override
DrawOcclusion(OcclusionBuffer) : Boolean
Draw to occlusion buffer. Return true if did not run out of triangles.
override
GetLodGeometry(UInt32, UInt32) : Geometry
Return the geometry for a specific LOD level.
static
RegisterObject(Context)
Register object factory.
ResetLod()
Reset to LOD level 0.
SetBoundingBox(BoundingBox)
Set local-space bounding box.
SetMaterial(Material)
Set material.
SetNeighbors(TerrainPatch, TerrainPatch, TerrainPatch, TerrainPatch)
Set neighbor patches.