GeometryModelMockups

class cee.geo.GeometryModelMockups()

Helper class for creating simple geometry models

Constructors


Constructors

GeometryModelMockups.constructor()
Return type:

GeometryModelMockups

Methods

static populateModelWithLineSquaresParts

GeometryModelMockups.populateModelWithLineSquaresParts(model, numParts)
Arguments:

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

Return type:

void

static populateModelWithSingleTriangleParts

GeometryModelMockups.populateModelWithSingleTriangleParts(model, numParts)
Arguments:

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

Return type:

void

static populateModelWithTexturedQuadParts

GeometryModelMockups.populateModelWithTexturedQuadParts(model, numParts, texture)
Arguments:
  • model (GeometryModel) – None

  • numParts (number) – None

  • texture (Texture) – None

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

Return type:

void