public final class Clips
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Clips.ClipReference
Reference to another clip.
|
static class |
Clips.CommonClipTypeAdapterFactory |
static class |
Clips.IdentityClip
Clip that does nothing.
|
static class |
Clips.ModelClip
Wrapper for model clips; useful for debugging and serialization;
|
static class |
Clips.SlerpClip
Spherical linear blend between 2 clips.
|
static class |
Clips.TimeClip
Clip with custom parameterization of the time.
|
static class |
Clips.TriggerClip
Clip + Event, triggers when parameter becomes non-negative.
|
Constructor and Description |
---|
Clips() |
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.lang3.tuple.Pair<IModelState,java.lang.Iterable<Event>> |
apply(IClip clip,
float lastPollTime,
float time)
IModelState wrapper for a Clip, sampled at specified time.
|
static IClip |
getModelClipNode(ResourceLocation modelLocation,
java.lang.String clipName)
Retrieves the clip from the model.
|
public static IClip getModelClipNode(ResourceLocation modelLocation, java.lang.String clipName)
public static org.apache.commons.lang3.tuple.Pair<IModelState,java.lang.Iterable<Event>> apply(IClip clip, float lastPollTime, float time)