struct
Fluorite::SpriteSheet::Core::PipelineConfig
- Fluorite::SpriteSheet::Core::PipelineConfig
- Struct
- Value
- Object
Overview
Pure Core Engine configuration for the automated sprite sheet compression pipeline
Defined in:
fluorite/sprite_sheet/core/pipeline.crConstructors
Instance Method Summary
- #animation_name : String
- #animation_name=(animation_name : String)
- #background_color : String
- #background_color=(background_color : String)
- #bayer_scale : Int32
- #bayer_scale=(bayer_scale : Int32)
- #columns : Int32 | Nil
- #columns=(columns : Int32 | Nil)
- #crop_rect : Tuple(Int32, Int32, Int32, Int32) | Nil
- #crop_rect=(crop_rect : Tuple(Int32, Int32, Int32, Int32) | Nil)
- #dither : DitherAlgorithm
- #dither=(dither : DitherAlgorithm)
- #duration : String | Time::Span | Nil
- #duration=(duration : String | Time::Span | Nil)
- #effective_max_colors : Int32
- #format : CompressionFormat
- #format=(format : CompressionFormat)
- #fps : Float64
- #fps=(fps : Float64)
- #frame_count : Int32
- #frame_count=(frame_count : Int32)
- #frame_height : Int32
- #frame_height=(frame_height : Int32)
- #frame_width : Int32
- #frame_width=(frame_width : Int32)
- #godot_import_path : String | Nil
- #godot_import_path=(godot_import_path : String | Nil)
- #input_path : String
- #input_path=(input_path : String)
- #layout_policy : LayoutPolicy
- #layout_policy=(layout_policy : LayoutPolicy)
- #loop_animation : Bool
- #loop_animation=(loop_animation : Bool)
- #margin : Int32
- #margin=(margin : Int32)
- #max_colors : Int32 | Nil
- #max_colors=(max_colors : Int32 | Nil)
- #metadata_path : String | Nil
- #metadata_path=(metadata_path : String | Nil)
- #output_path : String
- #output_path=(output_path : String)
- #padding : Int32
- #padding=(padding : Int32)
- #png_compression_level : Int32
- #png_compression_level=(png_compression_level : Int32)
- #power_of_two : Bool
- #power_of_two=(power_of_two : Bool)
- #reserve_transparent : Bool
- #reserve_transparent=(reserve_transparent : Bool)
- #rows : Int32 | Nil
- #rows=(rows : Int32 | Nil)
- #scale_flags : ScaleFlags
- #scale_flags=(scale_flags : ScaleFlags)
- #seek : String | Time::Span | Nil
- #seek=(seek : String | Time::Span | Nil)
- #stats_mode : String
- #stats_mode=(stats_mode : String)
- #validate! : Nil
- #webp_lossless : Bool
- #webp_lossless=(webp_lossless : Bool)
- #webp_quality : Int32
- #webp_quality=(webp_quality : Int32)
Constructor Detail
def self.new(input_path : String = "", output_path : String = "", metadata_path : String | Nil = nil, godot_import_path : String | Nil = nil, frame_width : Int32 = 64, frame_height : Int32 = 64, frame_count : Int32 = 16, fps : Float64 = 12.0, columns : Int32 | Nil = nil, rows : Int32 | Nil = nil, layout_policy : LayoutPolicy = LayoutPolicy::Grid, padding : Int32 = 0, margin : Int32 = 0, background_color : String = "0x00000000", power_of_two : Bool = false, format : CompressionFormat = CompressionFormat::CLUT8, max_colors : Int32 | Nil = nil, dither : DitherAlgorithm = DitherAlgorithm::Sierra2_4a, bayer_scale : Int32 = 2, scale_flags : ScaleFlags = ScaleFlags::Nearest, png_compression_level : Int32 = 9, webp_quality : Int32 = 90, webp_lossless : Bool = true, reserve_transparent : Bool = true, stats_mode : String = "full", seek : String | Time::Span | Nil = nil, duration : String | Time::Span | Nil = nil, crop_rect : Tuple(Int32, Int32, Int32, Int32) | Nil = nil, animation_name : String = "default", loop_animation : Bool = true)
#