MapMarker3DModel.fromMeshWithTextureFilePath constructor
- Mesh mesh,
- String textureFilePath
Creates a new 3D model from mesh and texture.
-
meshMesh containing the 3d geometry together with texture coordinates. -
textureFilePathAbsolute 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);