Class WebViewExtensions
Web view extensions.
Inheritance
System.Object
WebViewExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VoxelBusters.EssentialKit
Assembly: cs.temp.dll.dll
Syntax
public static class WebViewExtensions
Methods
LoadTexture(WebView, Texture2D, TextureEncodingFormat)
Declaration
public static void LoadTexture(this WebView webView, Texture2D texture, TextureEncodingFormat textureEncodingFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| WebView | webView | |
| Texture2D | texture | |
| TextureEncodingFormat | textureEncodingFormat |
SetFullScreen(WebView)
Sets the webview frame to full screen size.
Declaration
public static void SetFullScreen(this WebView webView)
Parameters
| Type | Name | Description |
|---|---|---|
| WebView | webView |
SetNormalizedFrame(WebView, Rect)
Sets the frame rectangle describes the webview’s position and size in normalized coordinate system.
Declaration
public static void SetNormalizedFrame(this WebView webView, Rect normalizedRect)
Parameters
| Type | Name | Description |
|---|---|---|
| WebView | webView | |
| Rect | normalizedRect |