Class ModelBlockAnimation.MBClip

  • All Implemented Interfaces:
    IClip
    Enclosing class:
    ModelBlockAnimation

    protected static class ModelBlockAnimation.MBClip
    extends java.lang.Object
    implements IClip
    • Field Detail

      • loop

        private final boolean loop
      • jointClipsFlat

        @SerializedName("joint_clips")
        private final com.google.common.collect.ImmutableMap<java.lang.String,​com.google.common.collect.ImmutableList<ModelBlockAnimation.MBVariableClip>> jointClipsFlat
      • eventsRaw

        @SerializedName("events")
        private final com.google.common.collect.ImmutableMap<java.lang.String,​java.lang.String> eventsRaw
      • events

        private transient java.util.TreeMap<java.lang.Float,​Event> events
    • Constructor Detail

      • MBClip

        public MBClip​(boolean loop,
                      com.google.common.collect.ImmutableMap<java.lang.String,​com.google.common.collect.ImmutableList<ModelBlockAnimation.MBVariableClip>> clips,
                      com.google.common.collect.ImmutableMap<java.lang.String,​java.lang.String> events)
    • Method Detail

      • initialize

        private void initialize()
      • pastEvents

        public java.lang.Iterable<Event> pastEvents​(float lastPollTime,
                                                    float time)
        Specified by:
        pastEvents in interface IClip