myAsset.contextType in Anark Studio 2.5
Type of the TimeContext for this asset.
- Property Type
- Number
Sets and returns the type of time context for this asset.
0
— Normal; sets the group's time context to play through only once.1
— Loop; sets the group's time context to loop after it has played through. The time context will jump back to either its beginning or the jumpTo point and play forward again.2
— Ping-Pong; sets the group's time context to reverse and play backwards after it has played through. Once back at the beginning or the jumpTo point, playback will move forward again. This process is repeated for the duration of the component.