protected static class ModelBlockAnimation.MBClip extends java.lang.Object implements IClip
Modifier and Type | Class and Description |
---|---|
protected static class |
ModelBlockAnimation.MBClip.MBJointClip |
Modifier and Type | Field and Description |
---|---|
private java.util.TreeMap<java.lang.Float,Event> |
events |
private com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> |
eventsRaw |
private com.google.common.collect.ImmutableMap<java.lang.String,ModelBlockAnimation.MBClip.MBJointClip> |
jointClips |
private com.google.common.collect.ImmutableMap<java.lang.String,com.google.common.collect.ImmutableList<ModelBlockAnimation.MBVariableClip>> |
jointClipsFlat |
private boolean |
loop |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
IJointClip |
apply(IJoint joint) |
private void |
initialize() |
java.lang.Iterable<Event> |
pastEvents(float lastPollTime,
float time) |
private final boolean loop
@SerializedName(value="joint_clips") private final com.google.common.collect.ImmutableMap<java.lang.String,com.google.common.collect.ImmutableList<ModelBlockAnimation.MBVariableClip>> jointClipsFlat
private transient com.google.common.collect.ImmutableMap<java.lang.String,ModelBlockAnimation.MBClip.MBJointClip> jointClips
@SerializedName(value="events") private final com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> eventsRaw
private transient java.util.TreeMap<java.lang.Float,Event> events
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)
private void initialize()
public IJointClip apply(IJoint joint)
public java.lang.Iterable<Event> pastEvents(float lastPollTime, float time)
pastEvents
in interface IClip