KudanAR - iOS  1.6.0
AROcclusionMaterial Class Reference

#import <AROcclusionMaterial.h>

Inherits ARColourMaterial.

Additional Inherited Members

- Instance Methods inherited from ARColourMaterial
(instancetype) - initWithRed:green:blue:
 
(instancetype) - initWithRed:green:blue:alpha:
 
- Instance Methods inherited from ARMaterial
(void) - postRender
 
(BOOL) - prepareRendererWithNode: [implementation]
 
- Class Methods inherited from ARColourMaterial
(instancetype) + colourMaterialWithRed:green:blue:
 
- Properties inherited from ARColourMaterial
float red
 
float green
 
float blue
 
float alpha
 
BOOL depthOnly
 
- Properties inherited from ARMaterial
NSString * name
 
BOOL isTranslucent
 
ARBlendMode blendMode
 
BOOL depthTest
 
BOOL depthWrite
 
BOOL colourWrite
 
ARFaceCullMode cullMode
 
ARShaderProgramshaderProgram [implementation]
 

Detailed Description

This material type can be rendered with an ARMeshNode object to achieve an occlusion effect, where the alpha of the material is dynamically altered depending on its depth. This gives the appearance of models or images moving behind, under or around real-world objects, improving the level of immersion in the scene.


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