copyWith method

Plane3D copyWith({
  1. Axis3D? axis,
  2. bool? negative,
  3. double? size,
  4. Vector3? position,
  5. Color? color,
})

Copies the plane.

Implementation

Plane3D copyWith({
  Axis3D? axis,
  bool? negative,
  double? size,
  Vector3? position,
  Color? color,
}) {
  return Plane3D(
    size ?? this.size,
    axis ?? this.axis,
    negative ?? this.negative,
    position ?? this.position,
    color: color ?? this.color,
  );
}