Interface Path.PathElement

All Known Implementing Classes:
Path.EventTrigger, Path.RotationTarget, Path.TranslationTarget, Path.Waypoint
Enclosing class:
Path

public static sealed interface Path.PathElement permits Path.Waypoint, Path.TranslationTarget, Path.RotationTarget, Path.EventTrigger
Sealed interface for all path element types.

Path elements define the targets that make up a path. The three permitted implementations are:

  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a deep copy of this path element.
  • Method Details

    • copy

      Creates a deep copy of this path element.
      Returns:
      A new PathElement with the same values