RenPyTransitionIntent.punch constructor

const RenPyTransitionIntent.punch({
  1. required String mode,
  2. required double duration,
})

Implementation

const RenPyTransitionIntent.punch({
  required String this.mode,
  required double this.duration,
}) : type = RenPyTransitionType.punch,
     fidelity = RenPyTransitionFidelity.approximated,
     outTime = null,
     holdTime = null,
     inTime = null,
     color = null,
     maskAsset = null,
     ramplen = null,
     reverse = false,
     expression = null;