Keyframe.java

net.minecraft.client.animation.Keyframe

信息

  • 全限定名:net.minecraft.client.animation.Keyframe
  • 类型:public record
  • 包:net.minecraft.client.animation
  • 源码路径:src/main/java/net/minecraft/client/animation/Keyframe.java
  • 起始行号:L8
  • 职责:

    TODO

字段/常量

内部类/嵌套类型

构造器

public Keyframe(float timestamp, Vector3fc postTarget, AnimationChannel.Interpolation interpolation) @ L9

  • 构造器名:Keyframe
  • 源码定位:L9
  • 修饰符:public

参数:

  • timestamp: float
  • postTarget: Vector3fc
  • interpolation: AnimationChannel.Interpolation

说明:

TODO

方法

下面的方法块按源码顺序生成。

代码

@OnlyIn(Dist.CLIENT)
public record Keyframe(float timestamp, Vector3fc preTarget, Vector3fc postTarget, AnimationChannel.Interpolation interpolation) {
    public Keyframe(float timestamp, Vector3fc postTarget, AnimationChannel.Interpolation interpolation) {
        this(timestamp, postTarget, postTarget, interpolation);
    }
}

引用的其他类