Свойство | Type | Description | |
---|---|---|---|
customData | System.Object | ||
path | string | ||
pixels | UnityEngine.Color32[] | ||
texture | |||
width | int |
Méthode | Description | |
---|---|---|
clear ( |
||
create ( int width, int height, TextureFormat texFormat = TextureFormat.ARGB32 ) : void | ||
get ( float x, float y ) : |
||
load ( PGraphics g, string path ) : void | ||
loadPixels ( ) : bool | ||
set ( |
||
set ( |
||
set ( float x, float y, |
||
updatePixels ( ) : void |
Méthode | Description | |
---|---|---|
loadFromLocalFile ( string path ) : bool | ||
loadFromResources ( PGraphics g, string path ) : bool | ||
loadFromURL ( string url ) : IEnumerator |
public create ( int width, int height, TextureFormat texFormat = TextureFormat.ARGB32 ) : void | ||
width | int | |
height | int | |
texFormat | TextureFormat | |
Résultat | void |
public get ( float x, float y ) : |
||
x | float | |
y | float | |
Résultat |
public load ( PGraphics g, string path ) : void | ||
g | PGraphics | |
path | string | |
Résultat | void |
public set ( float x, float y, |
||
x | float | |
y | float | |
col | ||
isApply | bool | |
Résultat | void |