View<T> class abstract

Constructors

View.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
renderOrder int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future
getCamera() Future<Camera>
getNativeHandle() → T
inherited
getRenderTarget() Future<RenderTarget?>
getScene() Future<Scene>
Gets the scene currently associated with this View.
getViewport() Future<Viewport>
isDitheringEnabled() Future<bool>
isStencilBufferEnabled() Future<bool>
isTransparentPickingEnabled() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pick(int x, int y, void resultHandler(PickResult)) Future
Call pick to hit-test renderable entities at given viewport coordinates (or use one of the provided InputHandler classes which does this for you under the hood)
removeStencilHighlight(ThermionAsset asset) Future
Removes the outline around entity. Noop if there was no highlight.
setAntiAliasing(bool msaa, bool fxaa, bool taa) Future
setBlendMode(BlendMode blendMode) Future
setBloom(bool enabled, double strength) Future
setCamera(covariant Camera camera) Future
setDithering(bool enabled) Future
setFogOptions(FogOptions options) Future
Sets the fog options for this view. Fog is disabled by default
setFrustumCullingEnabled(bool enabled) Future
setLayerVisibility(VisibilityLayers layer, bool visible) Future
setName(String name) → void
Sets the (debug) name for this View.
setPostProcessing(bool enabled) Future
setRenderOrder(int order) Future
setRenderQuality(QualityLevel quality) Future
setRenderTarget(covariant RenderTarget? renderTarget) Future
setScene(Scene scene) Future
Sets the scene currently associated with this View.
setShadowsEnabled(bool enabled) Future
setStencilBufferEnabled(bool enabled) Future
setStencilHighlight(ThermionAsset asset, {double r = 1.0, double g = 0.0, double b = 0.0, int? entity, double scale = 1.05, int primitiveIndex = 0}) Future
Renders an outline around entity with the given color.
setToneMapper(ToneMapper mapper) Future
setTransparentPickingEnabled(bool enabled) Future
setViewport(int width, int height) Future
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

STENCIL_HIGHLIGHT_REFERENCE_VALUE int
getter/setter pair