[14:14] static extends: object
Helper for the JavaFX VertexFormat enum, which describes how vertex data is laid out in a TriangleMesh. The two values 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 VertexFormat.get(Name) to obtain the underlying JavaFX enum value.
get (string Name)
Resolves a VertexFormat enum value by name.
Name is the enum value name, "POINT_TEXCOORD" or "POINT_NORMAL_TEXCOORD".An AussomJavaObject wrapping the JavaFX VertexFormat value.vertexIndexSize (string Name)
Returns the integer count of vertex index components per face point for the named format (2 for POINT_TEXCOORD, 3 for POINT_NORMAL_TEXCOORD).
Name is the enum value 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 the VertexFormat enum value 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 the VertexFormat enum value 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 the VertexFormat enum value 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 the VertexFormat enum value name.An int with the texCoord index offset.