![]() |
KudanAR - Android
1.6.0
|
Inherits ARMaterial.
Public Member Functions | |
float | getAlpha () |
void | setAlpha (float alpha) |
ARTextureMaterial () | |
ARTextureMaterial (ARTexture texture) | |
void | setTexture (ARTexture newTexture) |
ARTexture | getTexture () |
boolean | prepareRendererWithNode (ARNode node) |
![]() | |
boolean | getTransparent () |
void | setTransparent (boolean transparent) |
boolean | getDepthOnly () |
void | setDepthOnly (boolean depthOnly) |
void | setDepthWrite (boolean depthWrite) |
boolean | getDepthWrite () |
void | setDepthTest (boolean depthTest) |
boolean | getDepthTest () |
void | setName (String name) |
String | getName () |
An ARTextureMaterial is a material for shading a texture. This is commonly used ith 3D models that do not require dynamic lighting.
ARTextureMaterial.ARTextureMaterial | ( | ) |
Initialises empty ARTextureMaterial.
ARTextureMaterial.ARTextureMaterial | ( | ARTexture | texture | ) |
Initialises ARTextureMaterial with ARTexture.
texture |
float ARTextureMaterial.getAlpha | ( | ) |
Returns the alpha value of a this texture material.
boolean ARTextureMaterial.prepareRendererWithNode | ( | ARNode | node | ) |
Prepare renderer to draw ARTextureMaterial.
node |
Reimplemented from ARMaterial.
void ARTextureMaterial.setAlpha | ( | float | alpha | ) |
Sets the alpha layer in a texture material.
alpha |
void ARTextureMaterial.setTexture | ( | ARTexture | newTexture | ) |
Sets ARTextureMaterials texture.
newTexture |