copyWith method
Implementation
DiveTransformInfo copyWith({
DiveVec2? pos,
double? rot,
DiveVec2? scale,
DiveAlign? alignment,
DiveBoundsType? boundsType,
DiveAlign? boundsAlignment,
DiveVec2? bounds,
}) {
return DiveTransformInfo(
pos: pos ?? this.pos,
rot: rot ?? this.rot,
scale: scale ?? this.scale,
alignment: alignment ?? this.alignment,
boundsType: boundsType ?? this.boundsType,
boundsAlignment: boundsAlignment ?? this.boundsAlignment,
bounds: bounds ?? this.bounds,
);
}