Method | Description | |
---|---|---|
AdjustPositions ( |
||
AdjustTexCoords ( |
||
AdjustVertexData ( |
||
SubTexture ( |
Initializes a subtexture with a region (in points) of another texture, using a frame rectangle to place the texture within an image. If 'rotated' is 'true', the subtexture will show the base region rotated by 90 degrees (CCW). If frame is null, it will use the whole texture.
|
Method | Description | |
---|---|---|
Init ( |
||
SubTexture ( ) : System |
Method | Description | |
---|---|---|
TransformVector2 ( Matrix matrix, System.Vector2 vector ) : System.Vector2 |
public AdjustPositions ( |
||
vertexData | ||
startIndex | uint | |
count | uint | |
return | void |
public AdjustTexCoords ( |
||
vertexData | ||
startIndex | uint | |
count | uint | |
return | void |
public AdjustVertexData ( |
||
vertexData | ||
startIndex | uint | |
count | uint | |
return | void |
protected Init ( |
||
texture | ||
region | ||
frame | ||
rotated | bool | |
return | void |
public SubTexture ( |
||
texture | ||
region | ||
frame | ||
rotated | bool | |
return | System |