![]() |
KudanAR - iOS
|
#import <ARVideoTexture.h>
Inheritance diagram for ARVideoTexture:
Collaboration diagram for ARVideoTexture:Instance Methods | |
| (instancetype) | - initWithVideoFile:audioFile: |
| (void) | - spill |
| (void) | - activate |
Instance Methods inherited from ARPlayableTexture | |
| (void) | - reset |
| (void) | - play |
| (void) | - pause |
| (typedef) | - NS_ENUM |
Instance Methods inherited from ARTexture | |
| (instancetype) | - initWithUIImage: |
| (instancetype) | - initWithEmpty |
| (instancetype) | - initWithExistingTextureID: |
| (void) | - generateTexture |
| (void) | - uploadTexture |
| (void) | - loadTextureFromUIImage:reverseLines: |
| (void) | - uploadBGRATexture:width:height: |
| (void) | - uploadBGRATextureSub:width:height: |
| (BOOL) | - preRender |
| (void) | - postRender |
Instance Methods inherited from <ARRendererDelegate> | |
| (void) | - rendererPreRender |
| (void) | - rendererPostRender |
| (void) | - rendererDidPause |
| (void) | - rendererDidResume |
Properties | |
| BOOL | isActive |
| double | currentVideoTime |
| double | lastRenderTime |
Properties inherited from ARPlayableTexture | |
| float | frameRate |
| ARPlayableTextureState | playState |
| NSTimeInterval | pauseTolerance |
| NSTimeInterval | resetThreshold |
| BOOL | lastFramePersist |
| id< ARPlayableTextureDelegate > | delegate |
Properties inherited from ARTexture | |
| unsigned | textureID |
| unsigned long | width |
| unsigned long | height |
| BOOL | isPowerOfTwo |
| ARTextureFilter | minificationFilter |
| ARTextureFilter | magnificationFilter |
Additional Inherited Members | |
Protected Attributes inherited from ARTexture | |
| NSData * | _rawImage |
A class representing the texture used to render videos.
| - (void) activate |
Adds video texture to video manager. If there's no room spills the oldest video texture. Video manager can hold 3 video textures at once.
| - (instancetype) initWithVideoFile: | (NSString *) | videoFile | |
| audioFile: | (NSString *) | audioFile | |
Initialises video texture with audio file.
| videoFile | Video name and extension in bundle. |
| audioFile | Video's audio track name and extension in bundle. |
| - (void) spill |
Removes video texture from cache.
|
readwritenonatomicassign |
Current video time in seconds.
|
readwritenonatomicassign |
If video is active.
|
readwritenonatomicassign |
Time of last frame rendered in seconds.