MapMarker3DModel.withTextureFilePathAndColor constructor

MapMarker3DModel.withTextureFilePathAndColor(
  1. String geometryFilePath,
  2. String textureFilePath,
  3. Color color
)

Creates a new 3D model from path to .obj file, texture and color.

  • geometryFilePath Absolute path to obj file.

  • textureFilePath Absolute path to texture file.

  • color Color to be blend with texture. This color is multiplied with color of texture.

Implementation

factory MapMarker3DModel.withTextureFilePathAndColor(String geometryFilePath, String textureFilePath, ui.Color color) => $prototype.withTextureFilePathAndColor(geometryFilePath, textureFilePath, color);