#import <ARPlayableTexture.h>
This class represents textures that are capable of changing, such as videos or 2D animations. This class should not be used directly. For Animations, please use ARAnimatedTexture. For Videos and Alpha Videos, please use ARVideoTexture.
| - (typedef) NS_ENUM |
|
(NSInteger) |
|
|
|
(ARPlayableTextureState) |
|
|
|
| |
An enum representing the current state of a playable texture
< Playable texture is not initialised
< Playable texture is paused
< Playable texture is playing
< Playable texture has finished playing
Pause playback of the playable texture.
Start playback of the playable texture.
Resets the playable texture back to the beginning of its sequence.
Delegate to receive playable texture events. Currently, the only delegate is playableTextureDidFinish.
The frame rate of the playable texture. This is set automatically but can be set manually in order to change playback speed.
| - (BOOL) lastFramePersist |
|
readwritenonatomicassign |
Whether or not to continually render the last frame after the playable texture has finished playing. Default is NO.
| - (NSTimeInterval) pauseTolerance |
|
readwritenonatomicassign |
The amount of time, in seconds, where the texture will continue to play even if it is not visible and no frames are being rendered. This is useful for momentary losses of tracking. The recommended value is 0.5 seconds.
| - (NSTimeInterval) resetThreshold |
|
readwritenonatomicassign |
The amount of time, in seconds, to wait before resetting to the beginning, if the node is not being rendered. A value of 0 means the video will not reset.
The documentation for this class was generated from the following file: