KudanAR - Android  1.6.0
ARPointMaterial Class Reference

Inherits ARMaterial.

Public Member Functions

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

Detailed Description

A class representing an ARMaterial used for shading Point sprites.

Constructor & Destructor Documentation

◆ ARPointMaterial() [1/2]

ARPointMaterial.ARPointMaterial ( )

Initialises ARPointMaterial.

◆ ARPointMaterial() [2/2]

ARPointMaterial.ARPointMaterial ( ARTexture2D  texture)

Initialises ARPointMaterial with an ARTexture2D.

Parameters
textureARTexture2D used to colour ARPointMaterial.

Member Function Documentation

◆ prepareRendererWithNode()

boolean ARPointMaterial.prepareRendererWithNode ( ARNode  node)

Prepares renderer to draw ARPointMaterial. Binds ARPointTextureShader and sets texture parameters.

Parameters
nodeARNode to be drawn.
Returns
true

Reimplemented from ARMaterial.


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