ITextureCreator

interface

Interface for an object that creates a special texture that the webview can use for rendering. Note that the WebViewPrefab takes care of using this interface for you, so you only need to deal with it directly if you create IWebView instances outside of a prefab using WebViewFactory.GetInstance().

Summary

Public methods

CreateTexture

Texture2D CreateTexture(float width, float height)

Creates a special texture that the webview can use for rendering, using the given dimensions in Unity units.