struct
Fluorite::SpriteSheet::Core::SpriteFrameRect
- Fluorite::SpriteSheet::Core::SpriteFrameRect
- Struct
- Value
- Object
Overview
Value struct representing a single animation frame's UV and pixel bounds within the packed atlas
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
fluorite/sprite_sheet/core/pipeline.crConstructors
- .new(index : Int32, column : Int32, row : Int32, x : Int32, y : Int32, width : Int32, height : Int32, u0 : Float64, v0 : Float64, u1 : Float64, v1 : Float64, timestamp_sec : Float64 = 0.0)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance Method Summary
- #column : Int32
- #height : Int32
- #index : Int32
- #row : Int32
- #timestamp_sec : Float64
- #u0 : Float64
- #u1 : Float64
- #v0 : Float64
- #v1 : Float64
- #width : Int32
- #x : Int32
- #y : Int32
Constructor Detail
def self.new(index : Int32, column : Int32, row : Int32, x : Int32, y : Int32, width : Int32, height : Int32, u0 : Float64, v0 : Float64, u1 : Float64, v1 : Float64, timestamp_sec : Float64 = 0.0)
#
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
#