spriteWidthPixels property

  1. @TagNumber.new(3)
int get spriteWidthPixels

Required. The width of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels field or the google.cloud.video.transcoder.v1.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.

Implementation

@$pb.TagNumber(3)
$core.int get spriteWidthPixels => $_getIZ(2);
  1. @TagNumber.new(3)
set spriteWidthPixels (int v)

Implementation

@$pb.TagNumber(3)
set spriteWidthPixels($core.int v) { $_setSignedInt32(2, v); }