Modifier and Type | Method and Description |
---|---|
float |
getAlpha(float x,
float y) |
Bitmap |
getBitmap() |
Vector3 |
getBump(float x,
float y,
OrthoNormalBasis basis,
float scale) |
Vector3 |
getNormal(float x,
float y,
OrthoNormalBasis basis) |
Color |
getPixel(float x,
float y)
Gets the color at location (x,y) in the texture.
|
public Bitmap getBitmap()
public Color getPixel(float x, float y)
x
- x coordinate into the texturey
- y coordinate into the texturepublic float getAlpha(float x, float y)
public Vector3 getNormal(float x, float y, OrthoNormalBasis basis)
public Vector3 getBump(float x, float y, OrthoNormalBasis basis, float scale)
Copyright © 2018. All rights reserved.