This is a breaking change needed to fully implement instancing and stencil highlighting.
Previously, users would work directly with entities (on the Dart side, ThermionEntity), e.g.
final entity = await viewer.loadGlb("some.glb");
However, Filament "entities" are a lower-level abstraction.
Loading a glTF file, for example, inserts multiple entities into the scene.
For example, each mesh, light, and camera within a glTF asset will be assigned an entity. A top-level (non-renderable) entity will also be created for the glTF asset, which can be used to transform the entire hierarchy.
"Asset" is a better representation for loading/inserting objects into the scene; think of this as a bundle of entities.
Unless you need to work directly with transforms, instancing, materials and renderables, you can work directly with ThermionAsset.
31 lines
964 B
Plaintext
31 lines
964 B
Plaintext
# This file tracks properties of this Flutter project.
|
|
# Used by Flutter tool to assess capabilities and perform upgrades etc.
|
|
#
|
|
# This file should be version controlled and should not be manually edited.
|
|
|
|
version:
|
|
revision: "ebc80f01645db271fce658193c5101c9f93d5fb7"
|
|
channel: "master"
|
|
|
|
project_type: app
|
|
|
|
# Tracks metadata for the flutter migrate command
|
|
migration:
|
|
platforms:
|
|
- platform: root
|
|
create_revision: ebc80f01645db271fce658193c5101c9f93d5fb7
|
|
base_revision: ebc80f01645db271fce658193c5101c9f93d5fb7
|
|
- platform: ios
|
|
create_revision: ebc80f01645db271fce658193c5101c9f93d5fb7
|
|
base_revision: ebc80f01645db271fce658193c5101c9f93d5fb7
|
|
|
|
# User provided section
|
|
|
|
# List of Local paths (relative to this file) that should be
|
|
# ignored by the migrate tool.
|
|
#
|
|
# Files that are not part of the templates will be ignored by default.
|
|
unmanaged_files:
|
|
- 'lib/main.dart'
|
|
- 'ios/Runner.xcodeproj/project.pbxproj'
|