loadTexture static method

Future<Texture?> loadTexture(
  1. String path
)

A texture loaded the way model textures are (MS3D orientation), for swapping a model material's map at runtime (e.g. a sky dome texture).

Implementation

static Future<THREE.Texture?> loadTexture(String path) async => (await _loadTexture([path])).$1;