← back to roto on ba3a.dev

GodotFrames

@Serializable
@SerialName(value = "godot-frames")
data class GodotFrames(val path: @Serializable(with = PathTemplateSerializer::class) PathTemplate, val resRoot: String = "") : OutputFormat

A Godot SpriteFrames resource that shows the published frames.

Constructors

Link copied to clipboard
constructor(path: @Serializable(with = PathTemplateSerializer::class) PathTemplate, resRoot: String = "")

Properties

Link copied to clipboard
open override val path: @Serializable(with = PathTemplateSerializer::class) PathTemplate

where the .tres goes, without an extension; {frame} is not allowed

Link copied to clipboard

the folder of the Godot project relative to the project root, where res:// starts, or empty when they are the same folder