rotationY property

double rotationY

The rotation angle in radians about the y-axis for 3d transformation.

Implementation

double get rotationY {
  return _rotationY;
}
void rotationY=(double value)

(Experimental) Sets the rotation angle in degrees about the x-axis for 3d transformation. Throws an error if value is NaN. If the value has not changed, does nothing.

Implementation

set rotationY(double value) {
  if (value.isNaN) {
    throw '[$this.rotationY] can not be NaN';
  }
  if (_rotationY == value) {
    return;
  }
  _rotationY = value;
  if (!_isWarned3d) {
    _warn3d();
  }
  $setTransformationChanged();
}