Stay organized with collections Save and categorize content based on your preferences.
Public Methods Inherited Methods Fromclass java.lang.Object
Object
clone()
boolean
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
public IntBuffer getIndexList()public int getIndexListSize () getIndexListSize
public int getIndexListSize()
Retrieves the number of triangle indices (represented by getIndexList()
) in this mesh. The indices should always be used as a triangle list, with three indices per triangle. The result can be passed as the count
parameter to GLES20.glDrawElements(int, int, int, java.nio.Buffer)
.
public FloatBuffer getVertexList()
Retrieves the vertex coordinate data for this mesh. Each vertex is three float values, stored in XYZ order. The total number of float values in the resulting FloatBuffer
is 3 * getVertexListSize()
.
The content of this buffer should not be modified by the caller.
public int getVertexListSize () getVertexListSizepublic int getVertexListSize()
Retrieves the number of vertices in this mesh.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["The `Mesh` class represents a polygon mesh used to describe geometry in AR experiences."],["It's obtained using the `StreetscapeGeometry.getMesh()` method."],["You can access the mesh's triangle data and vertex coordinates via `getIndexList()` and `getVertexList()` respectively."],["`getIndexListSize()` and `getVertexListSize()` provide the corresponding data sizes."],["These methods allow rendering the mesh using OpenGL functions like `GLES20.glDrawElements()`."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4