KudanAR - Android  1.6.0
ARCameraTextureMaterial Class Reference

Inherits ARMaterial.

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 ()
 
void setName (String name)
 
String getName ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ARCameraTextureMaterial() [1/2]

ARCameraTextureMaterial.ARCameraTextureMaterial ( )

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

◆ ARCameraTextureMaterial() [2/2]

ARCameraTextureMaterial.ARCameraTextureMaterial ( ARTexture  texture)

Initialises an ARCameraTextureMaterial with the given ARTexture.

Parameters
textureThe texture to assign to this material.

Member Function Documentation

◆ prepareRendererWithNode()

boolean ARCameraTextureMaterial.prepareRendererWithNode ( ARNode  node)

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

Parameters
node
Returns

Reimplemented from ARMaterial.

◆ setUVTransform()

void ARCameraTextureMaterial.setUVTransform ( float[]  uvTransform)

Sets the ARCameraTextureMaterial UV transform.

Parameters
uvTransformfloat[] containing the UV transform matrix.

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