Show / Hide Table of Contents

Class SpriteSheet

Sprite sheet configuration.

Inheritance
object
SpriteSheet
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Transcoder.v1.Data
Assembly: Google.Apis.Transcoder.v1.dll
Syntax
public class SpriteSheet : IDirectResponseSchema

Properties

ColumnCount

The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.

Declaration
[JsonProperty("columnCount")]
public virtual int? ColumnCount { get; set; }
Property Value
Type Description
int?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EndTimeOffset

End time in seconds, relative to the output file timeline. When end_time_offset is not specified, the sprites are generated until the end of the output file.

Declaration
[JsonProperty("endTimeOffset")]
public virtual object EndTimeOffset { get; set; }
Property Value
Type Description
object

FilePrefix

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.

Declaration
[JsonProperty("filePrefix")]
public virtual string FilePrefix { get; set; }
Property Value
Type Description
string

Format

Format type. The default is jpeg. Supported formats: - jpeg

Declaration
[JsonProperty("format")]
public virtual string Format { get; set; }
Property Value
Type Description
string

Interval

Starting from 0s, create sprites at regular intervals. Specify the interval value in seconds.

Declaration
[JsonProperty("interval")]
public virtual object Interval { get; set; }
Property Value
Type Description
object

Quality

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.

Declaration
[JsonProperty("quality")]
public virtual int? Quality { get; set; }
Property Value
Type Description
int?

RowCount

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.

Declaration
[JsonProperty("rowCount")]
public virtual int? RowCount { get; set; }
Property Value
Type Description
int?

SpriteHeightPixels

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). For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.

Declaration
[JsonProperty("spriteHeightPixels")]
public virtual int? SpriteHeightPixels { get; set; }
Property Value
Type Description
int?

SpriteWidthPixels

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). For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.

Declaration
[JsonProperty("spriteWidthPixels")]
public virtual int? SpriteWidthPixels { get; set; }
Property Value
Type Description
int?

StartTimeOffset

Start time in seconds, relative to the output file timeline. Determines the first sprite to pick. The default is 0s.

Declaration
[JsonProperty("startTimeOffset")]
public virtual object StartTimeOffset { get; set; }
Property Value
Type Description
object

TotalCount

Total number of sprites. Create the specified number of sprites distributed evenly across the timeline of the output media. The default is 100.

Declaration
[JsonProperty("totalCount")]
public virtual int? TotalCount { get; set; }
Property Value
Type Description
int?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX