Inherits ARMaterial.
A class representing a material responsible for shading the camera background texture. Used in ARExtractedCameraTexture.
◆ ARCameraBackgroundMaterial() [1/2]
ARCameraBackgroundMaterial.ARCameraBackgroundMaterial |
( |
| ) |
|
◆ ARCameraBackgroundMaterial() [2/2]
ARCameraBackgroundMaterial.ARCameraBackgroundMaterial |
( |
ARTexture |
texture | ) |
|
◆ getMarkerModelViewProjection()
Matrix4f ARCameraBackgroundMaterial.getMarkerModelViewProjection |
( |
| ) |
|
Returns the model view projection matrix of the portion of the camera to be rendered.
- Returns
- Matrix4f The model view matrix.
◆ getTexture()
ARTexture ARCameraBackgroundMaterial.getTexture |
( |
| ) |
|
Returns the camera background texture associated with this material.
- Returns
- The material's texture.
◆ prepareRendererWithNode()
boolean ARCameraBackgroundMaterial.prepareRendererWithNode |
( |
ARNode |
node | ) |
|
◆ setMarkerModelViewProjection()
void ARCameraBackgroundMaterial.setMarkerModelViewProjection |
( |
Matrix4f |
matrix | ) |
|
Sets ARCameraBackgroundMaterials model view projection matrix.
- Parameters
-
matrix | The model view projection matrix of the portion of the camera to be rendered. |
◆ setTexture()
void ARCameraBackgroundMaterial.setTexture |
( |
ARTexture |
texture | ) |
|
◆ setUVTransform()
void ARCameraBackgroundMaterial.setUVTransform |
( |
float[] |
uvTransform | ) |
|
The documentation for this class was generated from the following file:
- ARCameraBackgroundMaterial.java