Class GeoOrientationKeyframe

  • java.lang.Object
    • com.here.sdk.animation.GeoOrientationKeyframe

  • public final class GeoOrientationKeyframe
    extends java.lang.Object

    A GeoOrientationKeyframe consists of a GeoOrientation (camera orientation) and an animation duration.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      Duration duration
      Relative animation duration for reaching the keyframe value from previous keyframe value.
      GeoOrientation value
      GeoOrientation keyframe value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        @NonNull
        public final GeoOrientation value

        GeoOrientation keyframe value.

      • duration

        @NonNull
        public final Duration duration

        Relative animation duration for reaching the keyframe value from previous keyframe value. Negative duration value gets clamped to 0.

    • Constructor Detail

      • GeoOrientationKeyframe

        public GeoOrientationKeyframe​(@NonNull
                                      GeoOrientation value,
                                      @NonNull
                                      Duration duration)

        Constructs a GeoOrientationKeyframe from the value and offset.

        Parameters:
        value -

        GeoOrientation keyframe value.

        duration -

        Relative animation duration for reaching the keyframe value. Negative duration value gets clamped to 0.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object