![]() |
KudanAR - Android
|
Inheritance diagram for ARMaterial:Public Member Functions | |
| 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 () |
A material represents how an object is shaded. This serves as a base class and shouldn't be used directly.
|
inline |
Whether the renderer draws the material to the depth buffer only.
|
inline |
Returns whether pixels rendered with this material should be depth tested against existing pixels in the framebuffer. Default is true.
|
inline |
Whether the renderer draws the material to the depth buffer only.
|
inline |
Returns the name of the ARMaterial.
|
inline |
Returns whether or not this material uses alpha transparency. Default is false.
|
inline |
Prepares renderer to draw ARMaterial. Sets whether the material has a transparency layer or should draw to the depth buffer only. This is handled automatically by the renderer and shouldn't be called directly.
| node |
|
inline |
Sets whether the renderer draws the material to the depth buffer only.
| depthOnly |
|
inline |
Sets whether pixels rendered with this material should be depth tested against existing pixels in the framebuffer. Default: YES.
| depthTest |
|
inline |
Sets whether the renderer writes the material to the depth buffer only.
| depthWrite |
|
inline |
Sets the name of the ARMaterial.
Example of use: material.setName("example");
| name | The name to assign to the material. |
|
inline |
Sets whether the material is transparent.
| transparent |