setGlbFile static method

Future<void> setGlbFile(
  1. String path
)

Implementation

static Future<void> setGlbFile(String path) {
  final String normalized = path.trim();
  if (normalized.isEmpty) {
    throw const XrBackgroundCommandException(
      "GLB file path is empty.",
    );
  }
  return _send("glb|$normalized");
}