Table of Contents

Class GoogleTypes

Namespace
Glitch9.AIDevKit

Types only used by Google API.
This shit is here instead of the Google assembly because this is used by GENTask and the UnityEditor Generator Windows.

public static class GoogleTypes
Inheritance
object
GoogleTypes

Methods

ToDimensions(AspectRatio)

public static (int width, int height) ToDimensions(this GoogleTypes.AspectRatio ratio)

Parameters

ratio GoogleTypes.AspectRatio

Returns

(int width, int height)

ToFloat(AspectRatio)

public static float ToFloat(this GoogleTypes.AspectRatio ratio)

Parameters

ratio GoogleTypes.AspectRatio

Returns

float