get

operator fun IVertexData.get(index: Int, textureCoordsIndex: Int = index, colorsIndex: Int = index, normalsIndex: Int = index, tangentsIndex: Int = index, bitangentsIndex: Int = index): Point(source)

Retrieves a Point instance from the vertex data at the specified indices. The indices allow access to positions, texture coordinates, colors, normals, tangents, and bitangents.

Return

A Point object containing the vertex attributes at the specified indices.

Parameters

index

The index for retrieving the vertex position.

textureCoordsIndex

The index for retrieving texture coordinates. Defaults to the value of index.

colorsIndex

The index for retrieving vertex colors. Defaults to the value of index.

normalsIndex

The index for retrieving vertex normals. Defaults to the value of index.

tangentsIndex

The index for retrieving vertex tangents. Defaults to the value of index.

bitangentsIndex

The index for retrieving vertex bitangents. Defaults to the value of index.