levelEditor/model/material library

Classes

Material

Functions

fromColor(Color color) → Vector3
Convert Color to Vector3
loadImageFromAsset(String fileName, {bool isAsset = true, bool makeGray = false}) Future<Image>
load an image from asset
loadTexture(Material? material, String basePath, {bool isAsset = true}) Future<MapEntry<String, Image>?>
load texture from asset
toColor(Vector3 v, [double opacity = 1.0]) Color
Convert Vector3 to Color