GoogleApi.Transcoder.V1beta1.Model.SpriteSheet (google_api_transcoder v0.4.2)
View SourceSprite sheet configuration.
Attributes
-
columnCount(type:integer(), default:nil) - The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit. -
endTimeOffset(type:String.t, default:nil) - End time in seconds, relative to the output file timeline. Whenend_time_offsetis not specified, the sprites are generated until the end of the output file. -
filePrefix(type:String.t, default:nil) - Required. File name prefix for the generated sprite sheets. Each sprite sheet has an incremental 10-digit zero-padded suffix starting from 0 before the extension, such as"sprite_sheet0000000123.jpeg". -
format(type:String.t, default:nil) - Format type. The default is"jpeg". Supported formats: - 'jpeg' -
interval(type:String.t, default:nil) - Starting from0s, create sprites at regular intervals. Specify the interval value in seconds. -
quality(type:integer(), default:nil) - The quality of the generated sprite sheet. Enter a value between 1 and 100, where 1 is the lowest quality and 100 is the highest quality. The default is 100. A high quality value corresponds to a low image data compression ratio. -
rowCount(type:integer(), default:nil) - The maximum number of rows per sprite sheet. When the sprite sheet is full, a new sprite sheet is created. The default is 0, which indicates no maximum limit. -
spriteHeightPixels(type:integer(), default:nil) - Required. The height of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_height_pixels field or the SpriteSheet.sprite_width_pixels field, but not both (the API will automatically calculate the missing field). -
spriteWidthPixels(type:integer(), default:nil) - Required. The width of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_width_pixels field or the SpriteSheet.sprite_height_pixels field, but not both (the API will automatically calculate the missing field). -
startTimeOffset(type:String.t, default:nil) - Start time in seconds, relative to the output file timeline. Determines the first sprite to pick. The default is0s. -
totalCount(type:integer(), default:nil) - Total number of sprites. Create the specified number of sprites distributed evenly across the timeline of the output media. The default is 100.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Transcoder.V1beta1.Model.SpriteSheet{ columnCount: integer() | nil, endTimeOffset: String.t() | nil, filePrefix: String.t() | nil, format: String.t() | nil, interval: String.t() | nil, quality: integer() | nil, rowCount: integer() | nil, spriteHeightPixels: integer() | nil, spriteWidthPixels: integer() | nil, startTimeOffset: String.t() | nil, totalCount: integer() | nil }