Basics
Guides
API Reference
Basics
Guides
API Reference
[16:14] static extends: object
Layout-information utility for the JavaFX VertexFormat values, which describe how vertex data is laid out in a TriangleMesh. The two formats are POINT_TEXCOORD (each vertex carries a position and a texture coordinate) and POINT_NORMAL_TEXCOORD (each vertex carries a position, a normal, and a texture coordinate). Use the fxvertexformat enum for the format values themselves (for example fxvertexformat.POINT_TEXCOORD); this class only exposes the per-format index sizes and offsets by name.
vertexIndexSize (string Name)
Returns the integer count of vertex index components per face point (2 for POINT_TEXCOORD, 3 for POINT_NORMAL_TEXCOORD).
Name is an fxvertexformat value or the VertexFormat name.An int with the vertex index size.getVertexIndexSize (string Name)
Returns the integer count of vertex index components per face point. Equivalent to vertexIndexSize but mirrors the JavaFX method name.
Name is an fxvertexformat value or the VertexFormat name.An int with the vertex index size.getPointIndexOffset (string Name)
Returns the offset within each vertex index group where the point index lives (always 0 for both vertex formats).
Name is an fxvertexformat value or the VertexFormat name.An int with the point index offset.getNormalIndexOffset (string Name)
Returns the offset within each vertex index group where the normal index lives. Only meaningful for POINT_NORMAL_TEXCOORD.
Name is an fxvertexformat value or the VertexFormat name.An int with the normal index offset.getTexCoordIndexOffset (string Name)
Returns the offset within each vertex index group where the texture coordinate index lives.
Name is an fxvertexformat value or the VertexFormat name.An int with the texCoord index offset.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.