docs/android/dokka/filament-android/com.google.android.filament/-surface-orientation/-builder/index.md
//filament-android/com.google.android.filament/SurfaceOrientation/Builder
[main]
open class Builder
Constructs an immutable surface orientation helper. At a minimum, clients must supply a vertex count. They can supply data in any of the following combinations:
Additionally, the client-side data has the following type constraints:
| Builder | [main] |
| constructor() |
| Name | Summary |
|---|---|
| build | [main] |
| open fun build(): SurfaceOrientation | |
| Consumes the input data, produces quaternions, and destroys the native builder. | |
| normals | [main] |
| open fun normals(buffer: Buffer): SurfaceOrientation.Builder | |
| positions | [main] |
| open fun positions(buffer: Buffer): SurfaceOrientation.Builder | |
| tangents | [main] |
| open fun tangents(buffer: Buffer): SurfaceOrientation.Builder | |
| triangleCount | [main] |
| open fun triangleCount(triangleCount: Int): SurfaceOrientation.Builder | |
| triangles_uint16 | [main] |
| open fun triangles_uint16(buffer: Buffer): SurfaceOrientation.Builder | |
| triangles_uint32 | [main] |
| open fun triangles_uint32(buffer: Buffer): SurfaceOrientation.Builder | |
| uvs | [main] |
| open fun uvs(buffer: Buffer): SurfaceOrientation.Builder | |
| vertexCount | [main] |
| open fun vertexCount(vertexCount: Int): SurfaceOrientation.Builder |