Méthode | Description | |
---|---|---|
Draw ( ) : void |
Draw using JTexture blending settings (ordinary ones).
|
|
Draw ( System.Vector2 pos ) : void | ||
Draw ( System.Vector2 pos, System.Vector2 scale ) : void | ||
Draw ( System.Vector2 pos, float scale ) : void | ||
DrawBasic ( ) : void |
Draws the texture without changing any blending settings. Use this when you wish to set the blending settings yourself.
|
|
DrawBasic ( System.Vector2 pos ) : void | ||
DrawBasic ( System.Vector2 pos, System.Vector2 scale ) : void | ||
DrawBasic ( System.Vector2 pos, float scale ) : void | ||
DrawBasicCentred ( ) : void | ||
DrawBasicCentred ( System.Vector2 pos, System.Vector2 scale, float ang ) : void | ||
DrawCentred ( ) : void |
Draw using JTexture blending settings (ordinary ones).
|
|
Free ( ) : void | ||
JTexture ( ) : System | ||
JTexture ( |
||
JTexture ( |
||
JTexture ( |
Constructs a JTexture from a parent texture
|
|
JTexture ( String fileName, bool alpha ) : System | ||
JTexture ( String fileName, bool alpha, bool padToPowerOfTwo ) : System | ||
JTexture ( int GLTex, float width, float height, bool alpha ) : System |
Construct a JTexture when the GLTexture already exists. texW and texH are the actual dimensions of the given opengl texture (usually pots). Width and height are always less than or equal to texW and texH respectively, and are the part of the texture to be used starting in the bottom left corner.
|
|
SetDrawSize ( float width, float height ) : void |
Méthode | Description | |
---|---|---|
JTextureConstructorHelper ( |
public Draw ( System.Vector2 pos, System.Vector2 scale ) : void | ||
pos | System.Vector2 | |
scale | System.Vector2 | |
Résultat | void |
public Draw ( System.Vector2 pos, float scale ) : void | ||
pos | System.Vector2 | |
scale | float | |
Résultat | void |
public DrawBasic ( System.Vector2 pos ) : void | ||
pos | System.Vector2 | |
Résultat | void |
public DrawBasic ( System.Vector2 pos, System.Vector2 scale ) : void | ||
pos | System.Vector2 | |
scale | System.Vector2 | |
Résultat | void |
public DrawBasic ( System.Vector2 pos, float scale ) : void | ||
pos | System.Vector2 | |
scale | float | |
Résultat | void |
public DrawBasicCentred ( System.Vector2 pos, System.Vector2 scale, float ang ) : void | ||
pos | System.Vector2 | |
scale | System.Vector2 | |
ang | float | |
Résultat | void |
public JTexture ( |
||
jbitmap | ||
alpha | bool | |
Résultat | System |
public JTexture ( |
||
jbitmap | ||
alpha | bool | |
padToPowerOfTwo | bool | |
Résultat | System |
public JTexture ( |
||
parent | ||
topLeftX | float | |
topLeftY | float | |
width | float | |
height | float | |
alpha | bool | |
Résultat | System |
public JTexture ( String fileName, bool alpha ) : System | ||
fileName | String | |
alpha | bool | |
Résultat | System |
public JTexture ( String fileName, bool alpha, bool padToPowerOfTwo ) : System | ||
fileName | String | |
alpha | bool | |
padToPowerOfTwo | bool | |
Résultat | System |
public JTexture ( int GLTex, float width, float height, bool alpha ) : System | ||
GLTex | int | |
width | float | |
height | float | |
alpha | bool | |
Résultat | System |
public SetDrawSize ( float width, float height ) : void | ||
width | float | |
height | float | |
Résultat | void |