Google Cloud Video Live Stream V1 Client - Class NormalizedResolution (1.1.0)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class NormalizedResolution.

Normalized resolution.

Generated from protobuf message google.cloud.video.livestream.v1.NormalizedResolution

Namespace

Google \ Cloud \ Video \ LiveStream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ w float

Optional. Normalized width. Valid range is [0.0, 1.0]. Default is 0.

↳ h float

Optional. Normalized height. Valid range is [0.0, 1.0]. Default is 0.

getW

Optional. Normalized width. Valid range is [0.0, 1.0]. Default is 0.

Returns
Type Description
float

setW

Optional. Normalized width. Valid range is [0.0, 1.0]. Default is 0.

Parameter
Name Description
var float
Returns
Type Description
$this

getH

Optional. Normalized height. Valid range is [0.0, 1.0]. Default is 0.

Returns
Type Description
float

setH

Optional. Normalized height. Valid range is [0.0, 1.0]. Default is 0.

Parameter
Name Description
var float
Returns
Type Description
$this