TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface IVertexArray in Tinman.Terrain.Vertices

Base interface for vertex data containers.

interface IVertexArray extends IMemoryConsumption
  IVertexCopy
  base of VertexArray

Attributes

Capacity

Returns the capacity of this object.

property Capacity { get }
type int32
value [>=0] The capacity, in elements.
inherited ICapacity.Capacity

MemoryConsumption

Returns the estimated memory consumption of this object.

property MemoryConsumption { get }
type int64
value [>=0] The estimated memory consumption, in bytes.
inherited IMemoryConsumption.MemoryConsumption

TupleSize

The tuple size.

property TupleSize { get }
type int32
value [1..4] The tuple size.

TupleType

The tuple element type.

property TupleType { get }
type TupleType
value The tuple element type.

Methods

CopyVertexData

Copies vertex data from one vertex to another.

method CopyVertexData (int32 from, int32 to)
params from The vertex to copy from.
  to The vertex to copy to.
inherited IVertexCopy.CopyVertexData

GetD

Returns a tuple component with 64-bit floating-point precision.

method GetD (int32 index, TupleComponent component)
type float64
params index [0..Capacity-1] Index of the tuple to get.
  component The tuple component.
returns The read tuple component.

GetF

Returns a tuple component with 32-bit floating-point precision.

method GetF (int32 index, TupleComponent component)
type float32
params index [0..Capacity-1] Index of the tuple to get.
  component The tuple component.
returns The read tuple component.

GetI

Returns a tuple component with 32-bit integer precision.

method GetI (int32 index, TupleComponent component)
type int32
params index [0..Capacity-1] Index of the tuple to get.
  component The tuple component.
returns The read tuple component.

GetL

Returns a tuple component with 64-bit integer precision.

method GetL (int32 index, TupleComponent component)
type int64
params index [0..Capacity-1] Index of the tuple to get.
  component The tuple component.
returns The read tuple component.