ThermionViewerFFI class

Inheritance

Constructors

ThermionViewerFFI.new()

Properties

animationManager Pointer<TAnimationManager>
latefinal
app ↔ FFIFilamentApp
latefinal
hashCode int
The hash code for this object.
no setterinherited
initialized Future<bool>
no setteroverride
msPerFrame double
no setteroverride
rendering bool
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scene ↔ FFIScene
latefinal
view ↔ FFIView
latefinaloverride-getter

Methods

addDirectLight(DirectLight directLight) Future<ThermionEntity>
override
addToScene(covariant ThermionAsset asset) Future
override
clearBackgroundImage({bool destroy = false}) Future
override
createCamera() Future<Camera>
override
createGeometry(Geometry geometry, {List<MaterialInstance>? materialInstances, bool keepData = false, bool addToScene = true}) Future<ThermionAsset>
override
destroyAsset(ThermionAsset asset) Future
override
destroyAssets() Future
override
destroyCamera(covariant FFICamera camera) Future
override
destroyLights() Future
override
dispose() Future
override
getActiveCamera() Future<Camera>
override
getBackgroundImage() Future<TexturedQuad>
override
getCameraCount() int
override
getCameras() Iterable<Camera>
getGizmo(GizmoType gizmoType) Future<GizmoAsset>
override
getRenderableBoundingBox(ThermionEntity entityId) Future<Aabb3>
override
getViewportBoundingBox(ThermionEntity entityId) Future<Aabb2>
override
hideBoundingBox(ThermionAsset asset, {bool destroy = false}) Future
Removes the bounding box for asset from the scene.
override
loadGltf(String path, {bool addToScene = true, int initialInstances = 1, bool keepData = false, String? resourceUri, bool loadAsync = false}) Future<ThermionAsset>
override
loadGltfFromBuffer(Uint8List data, {bool addToScene = true, int initialInstances = 1, bool keepData = false, int priority = 4, int layer = 0, bool loadResourcesAsync = false, String? resourceUri}) Future<ThermionAsset>
override
loadIbl(String lightingPath, {double intensity = 30000, bool destroyExisting = true}) Future
override
loadIblFromTexture(Texture texture, {Texture? reflectionsTexture = null, double intensity = 30000, bool destroyExisting = true}) Future
override
loadSkybox(String skyboxPath) Future
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose(Future callback()) → void
override
removeFromScene(covariant ThermionAsset asset) Future
override
removeGridOverlay({bool destroy = false}) Future
removeIbl({bool destroy = true}) Future
override
removeLight(ThermionEntity entity) Future
override
removeSkybox() Future
override
render() Future
override
rotateIbl(Matrix3 rotationMatrix) Future
override
setActiveCamera(covariant FFICamera camera) Future
override
setAntiAliasing(bool msaa, bool fxaa, bool taa) Future
override
setBackgroundColor(double r, double g, double b, double a) Future
override
setBackgroundImage(String path, {bool fillHeight = false}) Future
override
setBackgroundImageFromTexture(Texture texture) Future
override
setBackgroundImagePosition(double x, double y, {bool clamp = false}) Future
override
setBloom(bool enabled, double strength) Future
override
setFrameRate(int framerate) Future
override
setGridOverlayVisibility(bool visible) Future
override
setLayerVisibility(VisibilityLayers layer, bool visible) Future
override
setLightDirection(ThermionEntity lightEntity, Vector3 direction) Future
override
setLightPosition(ThermionEntity lightEntity, double x, double y, double z) Future
override
setPostProcessing(bool enabled) Future
override
setPriority(ThermionEntity entity, int priority) Future
override
setRendering(bool render) Future
override
setShadowsEnabled(bool enabled) Future
override
setShadowType(ShadowType shadowType) Future
override
setSoftShadowOptions(double penumbraScale, double penumbraRatioScale) Future
override
setToneMapping(ToneMapper mapper) Future
override
setViewFrustumCulling(bool enabled) Future
override
setViewport(int width, int height) Future
override
showBoundingBox(ThermionAsset asset) Future
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited