flutter_scene 0.5.0-0 flutter_scene: ^0.5.0-0 copied to clipboard
3D rendering library for Flutter. Currently only supported when Impeller is enabled.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_scene
With Flutter:
$ flutter pub add flutter_scene
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
flutter_scene: ^0.5.0-0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_scene/animation.dart';
import 'package:flutter_scene/animation_src/animation.dart';
import 'package:flutter_scene/animation_src/animation_clip.dart';
import 'package:flutter_scene/animation_src/animation_player.dart';
import 'package:flutter_scene/animation_src/animation_transform.dart';
import 'package:flutter_scene/animation_src/property_resolver.dart';
import 'package:flutter_scene/asset_helpers.dart';
import 'package:flutter_scene/camera.dart';
import 'package:flutter_scene/geometry/geometry.dart';
import 'package:flutter_scene/material/environment.dart';
import 'package:flutter_scene/material/material.dart';
import 'package:flutter_scene/material/physically_based_material.dart';
import 'package:flutter_scene/material/unlit_material.dart';
import 'package:flutter_scene/math_extensions.dart';
import 'package:flutter_scene/mesh.dart';
import 'package:flutter_scene/node.dart';
import 'package:flutter_scene/scene.dart';
import 'package:flutter_scene/scene_encoder.dart';
import 'package:flutter_scene/shaders.dart';
import 'package:flutter_scene/skin.dart';
import 'package:flutter_scene/surface.dart';