MapMarker3DModel.fromMeshWithTextureFilePathAndColor constructor
- Mesh mesh,
- String textureFilePath,
- Color color
Creates a new 3D model from mesh, texture and color.
-
meshMesh containing the 3d geometry together with texture coordinates. -
textureFilePathAbsolute path to texture file. -
colorColor to be blend with texture. This color is multiplied with color of texture.
Throws MapMarker3DModelInstantiationException. Indicates what went wrong when the instantiation was attempted.
Implementation
factory MapMarker3DModel.fromMeshWithTextureFilePathAndColor(Mesh mesh, String textureFilePath, ui.Color color) => $prototype.fromMeshWithTextureFilePathAndColor(mesh, textureFilePath, color);