Long4

Description

sealed class Tinman.Terrain.Vertices.Arrays.Long4

Derived from

Long0 abstract

Data container for application vertex data: four 64-bit integer values.

Public / Constructors

Long4


public constructor Long4 → (1)

capacity in : int32

The capacity, in vertices.

Creates a new data container.

Public / Methods

Get


[Pure]
public method Get → (1)

index in : int32

[0..ICapacity.Capacity-1]
The element index.

returns → Vec4L

The vertex element.

Returns an element of this vertex data array.

Set

2 overloads


public method Set1 → (2)

index in : int32

[0..ICapacity.Capacity-1]
The element index.

tuple in : Vec4L

The vertex element.

Sets an element of this vertex data array.


public method Set2 → (5)

index in : int32

[0..ICapacity.Capacity-1]
The element index.

in : int64

X-component of vertex element.

in : int64

Y-component of vertex element.

in : int64

Z-component of vertex element.

in : int64

W-component of vertex element.

Sets an element of this vertex data array.