- Sceneform SDK for Android was open sourced and archived (github.com/google-ar/sceneform-android-sdk) with version 1.16.0.
- This site (developers.google.com/sceneform) serves as the documentation archive for the previous version, Sceneform SDK for Android 1.15.0.
- Do not use version 1.17.0 of the Sceneform Maven artifacts.
- The 1.17.1 Maven artifacts can be used. Other than the version, however, the 1.17.1 artifacts are identical to the 1.15.0 artifacts.
RenderableDefinition.Submesh
Represents a Submesh for a RenderableDefinition. Each RenderableDefinition may have multiple
Submeshes.
Inherited Methods
From class
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 Methods
public
void
setMaterial
(Material material)
public
void
setName
(String name)
public
void
setTriangleIndices
(List<Integer> triangleIndices)
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-06-26 UTC.
[null,null,["Last updated 2024-06-26 UTC."],[[["`RenderableDefinition.Submesh` represents a part of a 3D model (RenderableDefinition) and a single model can have multiple submeshes."],["Each submesh has properties like a Material, name, and triangle indices, defining its appearance and structure."],["You can create and modify submeshes using the `RenderableDefinition.Submesh.Builder` class."],["Submeshes allow for applying different materials or properties to different parts of a 3D model."]]],["`RenderableDefinition.Submesh` represents a submesh within a renderable definition, which can have multiple submeshes. Key actions include using a `builder` to create submeshes, and getting or setting properties like `material`, `name`, and `triangleIndices`. Methods provided are `getMaterial()`, `getName()`, `getTriangleIndices()`, `setMaterial()`, `setName()`, and `setTriangleIndices()`. Also, there is a builder factory for the class. The user can retrieve or modify the submesh's properties through these methods.\n"]]