AnaglyphStyleData class

Stores an anaglyph style

Constructors

AnaglyphStyleData({AnaglyphStereoPairStyle stereoPairStyle = kDefaultStereoPairStyle, FilterQuality filterQuality = kDefaultFilterQuality, double depth = kDefaultDepth, bool clipOuters = kDefaultClipOuters})
stereoPairStyle: The style of the stereo pair.
const

Properties

clipOuters bool
final
depth double
final
filterQuality FilterQuality
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stereoPairStyle AnaglyphStereoPairStyle
final

Methods

copyWith({AnaglyphStereoPairStyle? stereoPairStyle, FilterQuality? filterQuality, Duration? transitionDuration, Curve? transitionCurve, double? depth, bool? clipOuters}) AnaglyphStyleData
It helps if you want to change some properties of an existing instance
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

lerp(AnaglyphStyleData a, AnaglyphStyleData b, double t) AnaglyphStyleData
  • Linearly interpolate between two AnaglyphStyleDatas.

  • a and b are the AnaglyphStyleData instances that you want to interpolate between.

  • The t argument represents the position on the timeline.

  • depth is the only value that is currently being interpolated accurately.