#import <ARVideoTextureMaterial.h>
Inherits ARMaterial.
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.
◆ initWithTexture:
◆ materialwithTexture:
Initialise ARVideoTextureMaterial with video texture class method.
- Parameters
-
texture | The video texture to be rendered. |
◆ alpha
The transparency of the video. 0..1 with 0 being fully transparent and 1 being fully opaque.
◆ fadeInTime
The time in seconds in which to fade the video in. This takes control of the alpha property. Default is 0 seconds.
◆ texture
The video texture to be rendered.
The documentation for this class was generated from the following files:
- ARVideoTextureMaterial.h
- ARVideoTextureMaterial.m