![]() |
KudanAR - Android
1.6.0
|
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 () |
A class representing a material responsible for shading the background camera texture.
| ARCameraTextureMaterial.ARCameraTextureMaterial | ( | ) |
Initialises an ARCameraTextureMaterial without a texture, to be set later.
| ARCameraTextureMaterial.ARCameraTextureMaterial | ( | ARTexture | texture | ) |
Initialises an ARCameraTextureMaterial with the given ARTexture.
| texture | The texture to assign to this material. |
| boolean ARCameraTextureMaterial.prepareRendererWithNode | ( | ARNode | node | ) |
Prepares renderer to render ARCameraTextureMaterial. Binds the ARCameraTextureShader for rendering and sets the UV transform and texture parameters.
| node |
Reimplemented from ARMaterial.
| void ARCameraTextureMaterial.setUVTransform | ( | float[] | uvTransform | ) |
Sets the ARCameraTextureMaterial UV transform.
| uvTransform | float[] containing the UV transform matrix. |