![]() |
KudanAR - iOS
1.6.0
|
#import <AROcclusionMaterial.h>
Inherits ARColourMaterial.
Additional Inherited Members | |
![]() | |
(instancetype) | - initWithRed:green:blue: |
(instancetype) | - initWithRed:green:blue:alpha: |
![]() | |
(void) | - postRender |
(BOOL) | - prepareRendererWithNode: [implementation] |
![]() | |
(instancetype) | + colourMaterialWithRed:green:blue: |
![]() | |
float | red |
float | green |
float | blue |
float | alpha |
BOOL | depthOnly |
![]() | |
NSString * | name |
BOOL | isTranslucent |
ARBlendMode | blendMode |
BOOL | depthTest |
BOOL | depthWrite |
BOOL | colourWrite |
ARFaceCullMode | cullMode |
ARShaderProgram * | shaderProgram [implementation] |
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.