C# Class uP5.PImage

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: nryota/uProcessing Class Usage Examples

Méthodes publiques

Свойство Type Description
customData System.Object
path string
pixels UnityEngine.Color32[]
texture UnityEngine.Texture2D
width int

Méthodes publiques

Méthode Description
clear ( Color col ) : void
create ( int width, int height, TextureFormat texFormat = TextureFormat.ARGB32 ) : void
get ( float x, float y ) : Color
load ( PGraphics g, string path ) : void
loadPixels ( ) : bool
set ( PImage img ) : void
set ( Texture2D tex ) : void
set ( float x, float y, Color col, bool isApply = true ) : void
updatePixels ( ) : void

Private Methods

Méthode Description
loadFromLocalFile ( string path ) : bool
loadFromResources ( PGraphics g, string path ) : bool
loadFromURL ( string url ) : IEnumerator

Method Details

clear() public méthode

public clear ( Color col ) : void
col UnityEngine.Color
Résultat void

create() public méthode

public create ( int width, int height, TextureFormat texFormat = TextureFormat.ARGB32 ) : void
width int
height int
texFormat TextureFormat
Résultat void

get() public méthode

public get ( float x, float y ) : Color
x float
y float
Résultat UnityEngine.Color

load() public méthode

public load ( PGraphics g, string path ) : void
g PGraphics
path string
Résultat void

loadPixels() public méthode

public loadPixels ( ) : bool
Résultat bool

set() public méthode

public set ( PImage img ) : void
img PImage
Résultat void

set() public méthode

public set ( Texture2D tex ) : void
tex UnityEngine.Texture2D
Résultat void

set() public méthode

public set ( float x, float y, Color col, bool isApply = true ) : void
x float
y float
col UnityEngine.Color
isApply bool
Résultat void

updatePixels() public méthode

public updatePixels ( ) : void
Résultat void

Property Details

customData public_oe property

public System.Object customData
Résultat System.Object

path public_oe property

public string path
Résultat string

pixels public_oe property

public Color32[],UnityEngine pixels
Résultat UnityEngine.Color32[]

texture public_oe property

public Texture2D,UnityEngine texture
Résultat UnityEngine.Texture2D

width public_oe property

public int width
Résultat int