C# Class DeltaDNA.ImageMessage.SpriteMap

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: deltaDNA/unity-sdk

Public Methods

Method Description
Build ( Dictionary,System.Collections.Generic configuration ) : void
GetSubRegion ( Rect rect ) : Texture2D
GetSubRegion ( int x, int y, int width, int height ) : Texture2D
LoadResource ( Action callback ) : void

Private Methods

Method Description
LoadResourceCoroutine ( string url, Action callback ) : IEnumerator

Method Details

Build() public method

public Build ( Dictionary,System.Collections.Generic configuration ) : void
configuration Dictionary,System.Collections.Generic
return void

GetSubRegion() public method

public GetSubRegion ( Rect rect ) : Texture2D
rect UnityEngine.Rect
return UnityEngine.Texture2D

GetSubRegion() public method

public GetSubRegion ( int x, int y, int width, int height ) : Texture2D
x int
y int
width int
height int
return UnityEngine.Texture2D

LoadResource() public method

public LoadResource ( Action callback ) : void
callback Action
return void