Class CameraKeyframe
-
- All Implemented Interfaces:
public final class CameraKeyframe extends Keyframe<CameraKeyframe>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
CameraKeyframe.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Codec<CameraKeyframe>
codec
private final Integer
time
private final Integer
duration
private final Vec3
pos1
private final Vec3
pos2
private final Easing
easing
private Integer
ticksSinceStart
private final Float
progress
public final static CameraKeyframe.Companion
Companion
-
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()
Integer
getTime()
Integer
getDuration()
final Vec3
getPos1()
final Vec3
getPos2()
final Easing
getEasing()
Unit
onClientTick(Minecraft mc, FreeCamera cam)
Unit
onServerTick(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)
-
-
-
-