animate3D property

TweenPropertyAccessor3D animate3D

Accessor for 3D properties like offsetZ, rotationZ and others which can be animated with this tween. Works for all 3D display objects.

Implementation

TweenPropertyAccessor3D get animate3D {
  var tweenObject = _tweenObject;
  if (tweenObject is TweenObject3D) {
    return TweenPropertyAccessor3D._(this, tweenObject);
  } else {
    throw StateError('Invalid tween object for 3D animation.');
  }
}