Class CameraKeyframe
-
- All Implemented Interfaces:
public final class CameraKeyframe extends Keyframe<CameraKeyframe>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCameraKeyframe.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Codec<CameraKeyframe>codecprivate final Integertimeprivate final Integerdurationprivate final Vec3pos1private final Vec3pos2private final Easingeasingprivate IntegerticksSinceStartprivate final Floatprogresspublic final static CameraKeyframe.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description CameraKeyframe(Integer time, Integer duration, Vec3 pos1, Vec3 pos2, Easing easing)
-
Method Summary
Modifier and Type Method Description Codec<CameraKeyframe>getCodec()IntegergetTime()IntegergetDuration()final Vec3getPos1()final Vec3getPos2()final EasinggetEasing()UnitonClientTick(Minecraft mc, FreeCamera cam)UnitonServerTick(MinecraftServer server)-
Methods inherited from class dev.wendigodrip.thebrokenscript.api.client.cutscene.keyframes.Keyframe
getProgress, getTicksSinceStart, setTicksSinceStart, tickClient, tickServer -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCodec
Codec<CameraKeyframe> getCodec()
-
getDuration
Integer getDuration()
-
getPos1
final Vec3 getPos1()
-
getPos2
final Vec3 getPos2()
-
getEasing
final Easing getEasing()
-
onClientTick
Unit onClientTick(Minecraft mc, FreeCamera cam)
-
onServerTick
Unit onServerTick(MinecraftServer server)
-
-
-
-