KudanAR - Android
ARTextureMaterial Class Reference
+ Inheritance diagram for ARTextureMaterial:
+ Collaboration diagram for ARTextureMaterial:

Public Member Functions

float getAlpha ()
 
void setAlpha (float alpha)
 
 ARTextureMaterial ()
 
 ARTextureMaterial (ARTexture texture)
 
void setTexture (ARTexture newTexture)
 
ARTexture getTexture ()
 
boolean prepareRendererWithNode (ARNode node)
 
- Public Member Functions inherited from ARMaterial
boolean getTransparent ()
 
void setTransparent (boolean transparent)
 
boolean getDepthOnly ()
 
void setDepthOnly (boolean depthOnly)
 
void setDepthWrite (boolean depthWrite)
 
boolean getDepthWrite ()
 
void setDepthTest (boolean depthTest)
 
boolean getDepthTest ()
 
boolean prepareRendererWithNode (ARNode node)
 
void setName (String name)
 
String getName ()
 

Detailed Description

An ARTextureMaterial is a material for shading a texture. This is commonly used ith 3D models that do not require dynamic lighting.

Constructor & Destructor Documentation

ARTextureMaterial ( )
inline

Initialises empty ARTextureMaterial.

ARTextureMaterial ( ARTexture  texture)
inline

Initialises ARTextureMaterial with ARTexture.

Parameters
texture

Member Function Documentation

float getAlpha ( )
inline

Returns the alpha value of a this texture material.

Returns
mAlpha
ARTexture getTexture ( )
inline

Return ARTextureMaterials ARTexture.

Returns
boolean prepareRendererWithNode ( ARNode  node)
inline

Prepare renderer to draw ARTextureMaterial.

Parameters
node
Returns
true
void setAlpha ( float  alpha)
inline

Sets the alpha layer in a texture material.

Parameters
alpha
void setTexture ( ARTexture  newTexture)
inline

Sets ARTextureMaterials texture.

Parameters
newTexture

The documentation for this class was generated from the following file: