Most visited

Recently visited

Geometry.GeometryBuilder

public static class Geometry.GeometryBuilder
extends Object

java.lang.Object
   ↳ com.viro.core.Geometry.GeometryBuilder


Builder for creating Geometry objects.

Summary

Public constructors

Geometry.GeometryBuilder()

Public methods

Geometry build()

Return the built Geometry.

Geometry.GeometryBuilder materials(List<Material> materials)

Set the Materials to be used for building this Geometry.

Geometry.GeometryBuilder submeshes(List<Submesh> submeshes)

Set the Submeshes to be used for building this Geometry.

Public constructors

Geometry.GeometryBuilder

Geometry.GeometryBuilder ()

Public methods

build

Geometry build ()

Return the built Geometry.

Returns
Geometry The built Geometry.

materials

Geometry.GeometryBuilder materials (List<Material> materials)

Set the Materials to be used for building this Geometry.

Parameters
materials List

Returns
Geometry.GeometryBuilder This builder.

submeshes

Geometry.GeometryBuilder submeshes (List<Submesh> submeshes)

Set the Submeshes to be used for building this Geometry.

Parameters
submeshes List

Returns
Geometry.GeometryBuilder This builder.

Hooray!