IVertexCopy

Description

interface Tinman.Terrain.Vertices.IVertexCopy

Derived from

ICapacity

Extended by

IVertexArray
VertexArrays sealed

Base interface for classes that store vertex data and are able to copy data from one vertex to another.

Public / Methods

Copy​Vertex​Data

2 overloads


public method CopyVertexData1 → (2)

from in : int32

[0..ICapacity.Capacity-1]
The vertex to copy from.

to in : int32

[0..ICapacity.Capacity-1]
The vertex to copy to.

Copies vertex data from one vertex to another.


public method CopyVertexData2 → (4)

sourceIndex in : int32

[0..ICapacity.Capacity-count]
Index of first vertex to read from the source vertex store.

target in : IVertexCopy

[not-null]
The vertex array to copy to.

targetIndex in : int32

[0..target.Capacity-count]
Index of first vertex to write into the target vertex store.

count in : int32

[>=0]
The number of vertices to copy.

Copies vertex data from this store (source) to the given target in store.