ThermionViewerJSShim extension type
An extension type on JSObject that represents a Javascript shim implementation of the ThermionViewer interface.
- on
- Implemented types
- Available extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
initialized
→ JSPromise<
JSBoolean> -
no setter
- isDefinedAndNotNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
no setter - isNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
Whether this value corresponds to JavaScriptnull
.no setter - isTruthy → JSBoolean
-
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of!!
in JavaScript.this
no setter - isUndefined → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
Whether this value corresponds to JavaScriptundefined
.no setter - isUndefinedOrNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
no setter - not → JSBoolean
-
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of!
in JavaScript.this
no setter - rendering → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
+any
-
addAnimationComponent(
ThermionEntity entity) → JSPromise< JSAny?> -
addBoneAnimation(
ThermionEntity entity, JSArray< JSString> bones, JSArray<JSArray< frameData, JSNumber frameLengthInMs, JSNumber spaceEnum, JSNumber skinIndex, JSNumber fadeInInSecs, JSNumber fadeOutInSecs, JSNumber maxDelta) → JSPromise<JSArray< >JSNumber> >JSAny?> -
addCollisionComponent(
ThermionEntity entity) → JSPromise< JSAny?> -
addLight(
int type, double colour, double intensity, double posX, double posY, double posZ, double dirX, double dirY, double dirZ, double falloffRadius, double spotLightConeInner, double spotLightConeOuter, double sunAngularRadius, double sunHaloSize, double sunHaloFallof, bool castShadows) → JSPromise< JSNumber> -
and(
JSAny? any) → JSAny? -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
&&any
-
callMethod<
R extends JSAny?> (JSAny method, [JSAny? arg1, JSAny? arg2, JSAny? arg3, JSAny? arg4]) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Callsmethod
on this JSObject with up to four arguments. -
callMethodVarArgs<
R extends JSAny?> (JSAny method, [List< JSAny?> ? arguments]) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Callsmethod
on this JSObject with a variable number ofarguments
. -
clearBackgroundImage(
) → JSPromise< JSAny?> -
clearEntities(
) → JSPromise< JSAny?> -
clearLights(
) → JSPromise< JSAny?> -
createGeometry(
JSArray< JSNumber> vertices, JSArray<JSNumber> indices, String? materialPath, int primitiveType) → JSPromise<JSNumber> -
createInstance(
ThermionEntity entity) → JSPromise< JSNumber> -
dartify(
) → Object? -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Converts a JavaScript value to the Dart equivalent if possible. -
delete(
JSAny property) → JSBoolean -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Deletes the property with keyproperty
from this JSObject. -
dispose(
) → JSPromise< JSAny?> -
divide(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
/any
-
equals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
==any
-
exponentiate(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
**any
-
getAnimationDuration(
ThermionEntity entity, int animationIndex) → JSPromise< JSNumber> -
getAnimationNames(
ThermionEntity entity) → JSPromise< JSArray< JSString> > -
getBone(
ThermionEntity child, int boneIndex, int skinIndex) → JSPromise< JSNumber> -
getBoneNames(
ThermionEntity entity, int skinIndex) → JSPromise< JSArray< JSString> > -
getCameraCullingFar(
) → JSPromise< JSNumber> -
getCameraCullingNear(
) → JSPromise< JSNumber> -
getCameraCullingProjectionMatrix(
) → JSPromise< JSArray< JSNumber> > -
getCameraFrustum(
) → JSPromise< JSObject> -
getCameraModelMatrix(
) → JSPromise< JSArray< JSNumber> > -
getCameraPosition(
) → JSPromise< JSArray< JSNumber> > -
getCameraProjectionMatrix(
) → JSPromise< JSArray< JSNumber> > -
getCameraRotation(
) → JSPromise< JSArray< JSNumber> > -
getCameraViewMatrix(
) → JSPromise< JSArray< JSNumber> > -
getChildEntities(
ThermionEntity parent, bool renderableOnly) → JSPromise< JSArray< JSNumber> > -
getChildEntity(
ThermionEntity parent, String childName) → JSPromise< JSNumber> -
getChildEntityNames(
ThermionEntity entity, bool renderableOnly) → JSPromise< JSArray< JSString> > -
getInstanceCount(
ThermionEntity entity) → JSPromise< JSNumber> -
getInstances(
ThermionEntity entity) → JSPromise< JSArray< JSNumber> > -
getLocalTransform(
ThermionEntity entity) → JSPromise< JSArray< JSNumber> > -
getMainCamera(
) → JSPromise< JSNumber> -
getMorphTargetNames(
ThermionEntity entity, ThermionEntity childEntity) → JSPromise< JSArray< JSString> > -
getNameForEntity(
ThermionEntity entity) → String? -
getParent(
ThermionEntity child) → JSPromise< JSNumber> -
getProperty<
R extends JSAny?> (JSAny property) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
The value of the property keyproperty
of this JSObject. -
getWorldTransform(
ThermionEntity entity) → JSPromise< JSArray< JSNumber> > -
greaterThan(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
>any
-
greaterThanOrEqualTo(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
>=any
-
has(
String property) → bool -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for hasProperty to check whether this JSObject contains the property keyproperty
, but takes and returns a Dart value. -
hasProperty(
JSAny property) → JSBoolean -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Whether or not this JSObject contains the property keyproperty
. -
hide(
ThermionEntity entity, String? meshName) → JSPromise< JSAny?> -
instanceof(
JSFunction constructor) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?
is aninstanceof
constructor
. -
instanceOfString(
String constructorName) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?
is aninstanceof
the constructor that is defined byconstructorName
, which is looked up in the globalContext. -
isA<
T extends JSAny?> () → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?
is an instance of the JavaScript type that is declared byT
. -
lessThan(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
<any
-
lessThanOrEqualTo(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
<=any
-
loadGlb(
String path, int numInstances) → JSPromise< JSNumber> -
loadGltf(
String path, String relativeResourcePath) → JSPromise< JSNumber> -
loadIbl(
String lightingPath, double intensity) → JSPromise< JSAny?> -
loadSkybox(
String skyboxPath) → JSPromise< JSAny?> -
modulo(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
%any
-
moveCameraToAsset(
ThermionEntity entity) → JSPromise< JSAny?> -
multiply(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
*any
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
!=any
-
or(
JSAny? any) → JSAny? -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
||any
-
panEnd(
) → JSPromise< JSAny?> -
panStart(
double x, double y) → JSPromise< JSAny?> -
panUpdate(
double x, double y) → JSPromise< JSAny?> -
pick(
int x, int y) → void -
playAnimation(
ThermionEntity entity, int index, bool loop, bool reverse, bool replaceActive, double crossfade) → JSPromise< JSAny?> -
playAnimationByName(
ThermionEntity entity, String name, bool loop, bool reverse, bool replaceActive, double crossfade) → JSPromise< JSAny?> -
queuePositionUpdate(
ThermionEntity entity, double x, double y, double z, bool relative) → JSPromise< JSAny?> -
queueRotationUpdate(
ThermionEntity entity, double rads, double x, double y, double z, bool relative) → JSPromise< JSAny?> -
queueRotationUpdateQuat(
ThermionEntity entity, JSArray< JSNumber> quat, bool relative) → JSPromise<JSAny?> -
removeAnimationComponent(
ThermionEntity entity) → JSPromise< JSAny?> -
removeCollisionComponent(
ThermionEntity entity) → JSPromise< JSAny?> -
removeEntity(
ThermionEntity entity) → JSPromise< JSAny?> -
removeIbl(
) → JSPromise< JSAny?> -
removeLight(
ThermionEntity light) → JSPromise< JSAny?> -
removeSkybox(
) → JSPromise< JSAny?> -
render(
) → JSPromise< JSAny?> -
resetBones(
ThermionEntity entity) → JSPromise< JSAny?> -
reveal(
ThermionEntity entity, String? meshName) → JSPromise< JSAny?> -
rotateEnd(
) → JSPromise< JSAny?> -
rotateIbl(
JSArray< JSNumber> rotationMatrix) → JSPromise<JSAny?> -
rotateStart(
double x, double y) → JSPromise< JSAny?> -
rotateUpdate(
double x, double y) → JSPromise< JSAny?> -
setAnimationFrame(
ThermionEntity entity, int index, int animationFrame) → JSPromise< JSAny?> -
setAntiAliasing(
bool msaa, bool fxaa, bool taa) → JSPromise< JSAny?> -
setBackgroundColor(
double r, double g, double b, double alpha) → JSPromise< JSAny?> -
setBackgroundImage(
String path, bool fillHeight) → JSPromise< JSAny?> -
setBackgroundImagePosition(
double x, double y, bool clamp) → JSPromise< JSAny?> -
setBloom(
double bloom) → JSPromise< JSAny?> -
setBoneTransform(
ThermionEntity entity, int boneIndex, JSArray< JSNumber> transform, int skinIndex) → JSPromise<JSAny?> -
setCamera(
ThermionEntity entity, String? name) → JSPromise< JSAny?> -
setCameraCulling(
double near, double far) → JSPromise< JSAny?> -
setCameraExposure(
double aperture, double shutterSpeed, double sensitivity) → JSPromise< JSAny?> -
setCameraFocalLength(
double focalLength) → JSPromise< JSAny?> -
setCameraFocusDistance(
double focusDistance) → JSPromise< JSAny?> -
setCameraFov(
double degrees, double width, double height) → JSPromise< JSAny?> -
setCameraManipulatorOptions(
int mode, double orbitSpeedX, double orbitSpeedY, double zoomSpeed) → JSPromise< JSAny?> -
setCameraModelMatrix(
JSArray< JSNumber> matrix) → JSPromise<JSAny?> -
setCameraPosition(
double x, double y, double z) → JSPromise< JSAny?> -
setCameraRotation(
JSArray< JSNumber> quaternion) → JSPromise<JSAny?> -
setFrameRate(
int framerate) → JSPromise< JSAny?> -
setMainCamera(
) → JSPromise< JSAny?> -
setMaterialColor(
ThermionEntity entity, String meshName, int materialIndex, double r, double g, double b, double a) → JSPromise< JSAny?> -
setMorphAnimationData(
ThermionEntity entity, JSArray< JSArray< animation, JSArray<JSNumber> >JSString> morphTargets, JSArray<JSString> ? targetMeshNames, double frameLengthInMs) → JSPromise<JSAny?> -
setMorphTargetWeights(
ThermionEntity entity, JSArray< JSNumber> weights) → JSPromise<JSAny?> -
setParent(
ThermionEntity child, ThermionEntity parent) → JSPromise< JSAny?> -
setPosition(
ThermionEntity entity, double x, double y, double z) → JSPromise< JSAny?> -
setPostProcessing(
bool enabled) → JSPromise< JSAny?> -
setPriority(
ThermionEntity entityId, int priority) → JSPromise< JSAny?> -
setProperty(
JSAny property, JSAny? value) → void -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Write thevalue
of property keyproperty
of this JSObject. -
setRecording(
JSBoolean recording) → JSPromise< JSAny?> -
setRecordingOutputDirectory(
String outputDirectory) → JSPromise< JSAny?> -
setRendering(
bool render) → JSPromise< JSAny?> -
setRotation(
ThermionEntity entity, double rads, double x, double y, double z) → JSPromise< JSAny?> -
setRotationQuat(
ThermionEntity entity, JSArray< JSNumber> rotation) → JSPromise<JSAny?> -
setScale(
ThermionEntity entity, double scale) → JSPromise< JSAny?> -
setShadowsEnabled(
bool enabled) → JSPromise< JSAny?> -
setShadowType(
int shadowType) → JSPromise< JSAny?> -
setSoftShadowOptions(
double penumbraScale, double penumbraRatioScale) → JSPromise< JSAny?> -
setToneMapping(
int mapper) → JSPromise< JSAny?> -
setTransform(
ThermionEntity entity, JSArray< JSNumber> transform) → JSPromise<JSAny?> -
setViewFrustumCulling(
JSBoolean enabled) → JSPromise< JSAny?> -
stopAnimation(
ThermionEntity entity, int animationIndex) → JSPromise< JSAny?> -
stopAnimationByName(
ThermionEntity entity, String name) → JSPromise< JSAny?> -
strictEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
===any
-
strictNotEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
!==any
-
subtract(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
-any
-
testCollisions(
ThermionEntity entity) → JSPromise< JSAny?> -
toString(
) → String -
A string representation of this object.
inherited
-
transformToUnitCube(
ThermionEntity entity) → JSPromise< JSAny?> -
typeofEquals(
String typeString) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether the result oftypeof
on thisJSAny?
istypeString
. -
unsignedRightShift(
JSAny? any) → JSNumber -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of
in JavaScript.this
>>>any
-
updateBoneMatrices(
ThermionEntity entity) → JSPromise< JSAny?> -
zoomBegin(
) → JSPromise< JSAny?> -
zoomEnd(
) → JSPromise< JSAny?> -
zoomUpdate(
double x, double y, double z) → JSPromise< JSAny?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String property) → JSAny? -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for getProperty to get the value of the property keyproperty
of this JSObject, but takes and returns a Dart value. -
operator []=(
String property, JSAny? value) → void -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for setProperty to write thevalue
of the property keyproperty
of this JSObject, but takes a Dart value.