MapMarker3DModel.fromMeshWithTextureFilePath constructor

MapMarker3DModel.fromMeshWithTextureFilePath(
  1. Mesh mesh,
  2. String textureFilePath
)

Creates a new 3D model from mesh and texture.

  • mesh Mesh containing the 3d geometry together with texture coordinates.

  • textureFilePath Absolute path to texture file.

Throws MapMarker3DModelInstantiationException. Indicates what went wrong when the instantiation was attempted.

Implementation

factory MapMarker3DModel.fromMeshWithTextureFilePath(Mesh mesh, String textureFilePath) => $prototype.fromMeshWithTextureFilePath(mesh, textureFilePath);