GeometryModelMockups

class cee.geo.GeometryModelMockups()

Helper class for creating simple geometry models

Constructors

cee.geo.GeometryModelMockups.constructor()
GeometryModelMockups(): GeometryModelMockups

Returns: GeometryModelMockups

Methods

static cee.geo.GeometryModelMockups.populateModelWithLineSquaresParts()

static

populateModelWithLineSquaresParts(model: GeometryModel, numParts: number): void

Populates the model with the given number of parts, with each part consisting of a line mesh formed as a square

Parameters

model: GeometryModel

numParts: number

Returns: void

static cee.geo.GeometryModelMockups.populateModelWithSingleTriangleParts()

static

populateModelWithSingleTriangleParts(model: GeometryModel, numParts: number): void

Populates the model with the given number of parts, with each part consisting of a single triangle.

Parameters

model: GeometryModel

numParts: number

Returns: void

static cee.geo.GeometryModelMockups.populateModelWithTexturedQuadParts()

static

populateModelWithTexturedQuadParts(model: GeometryModel, numParts: number, texture: Texture): void

Populates the model with the given number of parts, with each part consisting of a textured quad.

Parameters

model: GeometryModel

numParts: number

texture: Texture

Returns: void