ThreeJS class
threeJs utility class. If you want to learn how to connect cannon.js with js, please look at the examples/threejs_* instead.
Constructors
Properties
- camera ↔ Camera
-
getter/setter pair
- clock ↔ Clock
-
getter/setter pair
- disposed ↔ bool
-
getter/setter pair
-
disposeEvents
↔ List<
dynamic Function()> -
getter/setter pair
- domElement → PeripheralsState
-
no setter
- dpr ↔ double
-
getter/setter pair
-
events
↔ List<
dynamic Function(double dt)> -
getter/setter pair
- falseCamera ↔ Camera
-
latefinal
- falseMesh ↔ Mesh
-
latefinal
- falseRenderTarget ↔ WebGLRenderTarget?
-
getter/setter pair
- gl ↔ RenderingContext
-
latefinal
-
globalKey
→ GlobalKey<
PeripheralsState> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double
-
getter/setter pair
- lateRenderer ↔ WebGLRenderer?
-
getter/setter pair
- mounted ↔ bool
-
getter/setter pair
- onSetupComplete ↔ void Function()
-
getter/setter pair
- pause ↔ bool
-
getter/setter pair
- postProcessor ↔ void Function([double? dt])?
-
getter/setter pair
- renderer ↔ WebGLRenderer?
-
getter/setter pair
- rendererUpdate ↔ void Function()?
-
getter/setter pair
- renderTarget ↔ WebGLRenderTarget?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scene ↔ Scene
-
getter/setter pair
- screenSize ↔ Size?
-
getter/setter pair
- settings ↔ Settings
-
getter/setter pair
-
setup
↔ FutureOr<
void> Function()? -
getter/setter pair
- sourceTexture ↔ WebGLTexture?
-
getter/setter pair
- texture ↔ FlutterAngleTexture?
-
getter/setter pair
- ticker ↔ Ticker?
-
getter/setter pair
- updating ↔ bool
-
getter/setter pair
- width ↔ double
-
getter/setter pair
- windowResizeUpdate ↔ void Function(Size newSize)?
-
getter/setter pair
Methods
-
addAnimationEvent(
dynamic event(double dt)) → void -
animate(
Duration duration) → void -
build(
) → Widget -
dispose(
) → void -
initPlatformState(
) → Future< void> -
initRenderer(
) → void -
initScene(
) → Future< void> -
initSize(
BuildContext context) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onWindowResize(
BuildContext context) → void -
render(
[double? dt]) → Future< void> -
toDispose(
dynamic event()) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited