Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::FixedVertices< Vertex > Class Template Referenceabstract

#include <VertexContainerInterface.h>

Inherited by AZ::VariableVertices< Vertex >.

Public Member Functions

virtual bool GetVertex (size_t index, Vertex &vertex) const =0
 
virtual bool UpdateVertex (size_t index, const Vertex &vertex)=0
 
virtual size_t Size () const =0
 

Detailed Description

template<typename Vertex>
class AZ::FixedVertices< Vertex >

Interface provided by a container of vertices of fixed length (example: array or fixed_vector).

Member Function Documentation

◆ GetVertex()

template<typename Vertex >
virtual bool AZ::FixedVertices< Vertex >::GetVertex ( size_t  index,
Vertex &  vertex 
) const
pure virtual

Get a vertex at a particular index.

Parameters
indexIndex of vertex to access.
vertexOut parameter of vertex at index.
Returns
Was the vertex at the index provided able to be accessed.

◆ Size()

template<typename Vertex >
virtual size_t AZ::FixedVertices< Vertex >::Size ( ) const
pure virtual

How many vertices are there.

◆ UpdateVertex()

template<typename Vertex >
virtual bool AZ::FixedVertices< Vertex >::UpdateVertex ( size_t  index,
const Vertex &  vertex 
)
pure virtual

Update a vertex at a particular index.

Parameters
indexIndex of vertex to update.
vertexNew vertex position.
Returns
Was the vertex at the index provided able to be updated.

The documentation for this class was generated from the following file: