SkydomeBackground class
Minimal, optional equirectangular skydome background.
Constructors
- SkydomeBackground.new(RenderingContext _gl)
- Creates a SkydomeBackground bound to the provided WebGL context.
Properties
Methods
-
dispose(
) → void - Releases GPU resources and resets internal state.
-
draw(
int width, int height, double fx, double fy, Float32List invViewRot3x3) → void - Draws the skydome using the provided viewport and camera parameters.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setImageFromAsset(
String assetPath) → Future< void> - Loads the skydome texture from a Flutter asset and prepares mipmaps.
-
setYawPitchDegrees(
double yawDeg, double pitchDeg) → void - Applies a yaw/pitch rotation (in degrees) to the background.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited