![]() |
KudanAR - Android
|
Inheritance diagram for ARColourMaterial:
Collaboration diagram for ARColourMaterial:Public Member Functions | |
| ARColourMaterial () | |
| ARColourMaterial (Vector3f colour) | |
| void | setColour (Vector3f colour) |
| 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 () |
| boolean | prepareRendererWithNode (ARNode node) |
| void | setName (String name) |
| String | getName () |
The ARColourMaterial is a material that renders a single colour. Alpha transparency is supported.
|
inline |
Initialise an empty ARColourMaterial with values to be set later.
|
inline |
Initialise an ARColourMaterial with with red, green and blue components stored in a vector. Each component is in the range 0..1.
| colour | A Vector3f containing 3 values in the range 0..1. |
|
inline |
Prepares renderer to draw ARColourMaterial. Binds the ARColourTextureShader and sets the colour to draw.
| node | Node material is attached to. |
|
inline |
Set the colour of the ARColourMaterial with red, green and blue components stored in a vector. Each component is in the range 0..1.
| colour | A Vector3f containing 3 values in the range 0..1. |