Property | Type | Description | |
---|---|---|---|
movieName | string |
Method | Description | |
---|---|---|
Awake ( ) : void |
Initialization of the movie surface
|
|
OnApplicationPause ( bool wasPaused ) : void |
Pauses video playback when the app loses or gains focus
|
|
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
DelayedStartVideo ( ) : IEnumerator |
Auto-starts video playback
|
|
IssuePluginEvent ( MediaSurfaceEventType eventType ) : void | ||
OVR_Media_Surface ( IntPtr surfaceTexId, int surfaceWidth, int surfaceHeight ) : IntPtr | ||
OVR_Media_Surface_Init ( ) : void | ||
OVR_Media_Surface_SetEventBase ( int eventBase ) : void | ||
OnApplicationQuit ( ) : void | ||
RetrieveStreamingAsset ( string mediaFileName ) : IEnumerator |
Construct the streaming asset path. Note: For Android, we need to retrieve the data from the apk.
|
|
StartVideoPlayerOnTextureId ( IntPtr textureId, string mediaPath ) : |
Set up the video player with the movie surface texture id.
|
public OnApplicationPause ( bool wasPaused ) : void | ||
wasPaused | bool | |
return | void |