cameraOverlay

@JvmName(name = "cameraOverlayResourcePath")
fun cameraOverlay(frames: Int, ticksPerFrame: Int, interpolationMode: InterpolationMode, getCameraOverlay: (frame: Int) -> ResourcePath<ResourceType.Texture>)
fun cameraOverlay(frames: Int, ticksPerFrame: Int, interpolationMode: InterpolationMode, getCameraOverlay: (frame: Int) -> String)

For each frame, getCameraOverlay supplies the textures under textures/<texture>.png to be used for the camera overlay, which is an image that will be rendered over the entire screen when the player is wearing the armor and in first person mode.


fun cameraOverlay(ticksPerFrame: Int, interpolationMode: InterpolationMode, vararg frames: ResourcePath<ResourceType.Texture>)
fun cameraOverlay(ticksPerFrame: Int, interpolationMode: InterpolationMode, vararg frames: String)

Uses the textures under textures/<frame>.png for the camera overlay, which is an image that will be rendered over the entire screen when the player is wearing the armor and in first person mode.