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

Public Member Functions

 ARCameraTextureMaterial ()
 
 ARCameraTextureMaterial (ARTexture texture)
 
boolean prepareRendererWithNode (ARNode node)
 
void setUVTransform (float[]uvTransform)
 
- 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

A class representing a material responsible for shading the background camera texture.

Constructor & Destructor Documentation

Initialises an ARCameraTextureMaterial without a texture, to be set later.

ARCameraTextureMaterial ( ARTexture  texture)
inline

Initialises an ARCameraTextureMaterial with the given ARTexture.

Parameters
textureThe texture to assign to this material.

Member Function Documentation

boolean prepareRendererWithNode ( ARNode  node)
inline

Prepares renderer to render ARCameraTextureMaterial. Binds the ARCameraTextureShader for rendering and sets the UV transform and texture parameters.

Parameters
node
Returns
void setUVTransform ( float[]  uvTransform)
inline

Sets the ARCameraTextureMaterial UV transform.

Parameters
uvTransformfloat[] containing the UV transform matrix.

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