![]() |
KudanAR - iOS
|
#import <ARVideoTextureMaterial.h>
Inheritance diagram for ARVideoTextureMaterial:
Collaboration diagram for ARVideoTextureMaterial:Instance Methods | |
| (instancetype) | - initWithTexture: |
Instance Methods inherited from ARMaterial | |
| (void) | - postRender |
Class Methods | |
| (instancetype) | + materialwithTexture: |
Properties | |
| ARVideoTexture * | texture |
| float | alpha |
| float | fadeInTime |
Properties inherited from ARMaterial | |
| NSString * | name |
| BOOL | isTranslucent |
| ARBlendMode | blendMode |
| BOOL | depthTest |
| BOOL | depthWrite |
| BOOL | colourWrite |
| ARFaceCullMode | cullMode |
An ARVideoTextureMaterial is a material designed specifically for use with an ARVideoTexture. It provides extra properties unique to ARVideoTextures, including alpha transparency and fade time.
| - (instancetype) initWithTexture: | (ARVideoTexture *) | texture |
Initialise ARVideoTextureMaterial with video texture.
| texture | The video texture to be rendered. |
| + (instancetype) materialwithTexture: | (ARVideoTexture *) | texture |
Initialise ARVideoTextureMaterial with video texture class method.
| texture | The video texture to be rendered. |
|
readwritenonatomicassign |
The transparency of the video. 0..1 with 0 being fully transparent and 1 being fully opaque.
|
readwritenonatomicassign |
The time in seconds in which to fade the video in. This takes control of the alpha property. Default is 0 seconds.
|
readwritenonatomicassign |
The video texture to be rendered.