Свойство | Type | Description | |
---|---|---|---|
OnEnd | VideoEnd | ||
OnReady | VideoReady | ||
OnResize | VideoResize | ||
OnVideoError | VideoError | ||
OnVideoFirstFrameReady | VideoFirstFrameReady | ||
m_ScaleValue | MEDIA_SCALE | ||
m_TargetMaterial | GameObject[] | ||
m_bAutoPlay | bool | ||
m_bFullScreen | bool | ||
m_bInit | bool | ||
m_bLoop | bool | ||
m_bSupportRockchip | bool | ||
m_objResize | GameObject[] | ||
m_strFileName | string |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
DownloadStreamingVideoAndLoad ( string strURL ) : IEnumerator | ||
DownloadStreamingVideoAndLoad2 ( string strURL ) : IEnumerator | ||
GetCurrentSeekPercent ( ) : int | ||
GetCurrentState ( ) : MEDIAPLAYER_STATE | ||
GetDuration ( ) : int | ||
GetSeekBarValue ( ) : float | ||
GetSeekPosition ( ) : int | ||
GetVideoHeight ( ) : int | ||
GetVideoTexture ( ) : |
||
GetVideoWidth ( ) : int | ||
Load ( string strFileName ) : void | ||
OnApplicationPause ( bool bPause ) : void | ||
OnApplicationQuit ( ) : void | ||
OnDestroy ( ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
OnError ( MEDIAPLAYER_ERROR iCode, MEDIAPLAYER_ERROR iCodeExtra ) : void | ||
Pause ( ) : void | ||
Play ( ) : void | ||
Resize ( ) : void | ||
ResizeTexture ( ) : void | ||
SeekTo ( int iSeek ) : void | ||
SetSeekBarValue ( float fValue ) : void | ||
SetSpeed ( float fSpeed ) : void |
Sets the speed. Experimental API( PC&iOS support, support from Android version 6.0 or later)
|
|
SetVolume ( float fVolume ) : void | ||
Start ( ) : void | ||
Stop ( ) : void | ||
UnLoad ( ) : void | ||
Update ( ) : void |
Méthode | Description | |
---|---|---|
Call_Destroy ( ) : void | ||
Call_GetCurrentSeekPercent ( ) : int | ||
Call_GetDuration ( ) : int | ||
Call_GetError ( ) : int | ||
Call_GetErrorExtra ( ) : int | ||
Call_GetSeekPosition ( ) : int | ||
Call_GetStatus ( ) : MEDIAPLAYER_STATE | ||
Call_GetVideoHeight ( ) : int | ||
Call_GetVideoWidth ( ) : int | ||
Call_InitJniManager ( ) : void | ||
Call_InitNDK ( ) : int | ||
Call_IsUpdateFrame ( ) : bool | ||
Call_Load ( string strFileName, int iSeek ) : bool | ||
Call_Pause ( ) : void | ||
Call_Play ( int iSeek ) : void | ||
Call_RePlay ( ) : void | ||
Call_Reset ( ) : void | ||
Call_SetLooping ( bool bLoop ) : void | ||
Call_SetNotReady ( ) : void | ||
Call_SetRockchip ( bool bValue ) : void | ||
Call_SetSeekPosition ( int iSeek ) : void | ||
Call_SetSpeed ( float fSpeed ) : void | ||
Call_SetSplitOBB ( bool bValue, string strOBBName ) : void | ||
Call_SetUnityActivity ( ) : void | ||
Call_SetUnityTexture ( int iTextureID ) : void | ||
Call_SetVolume ( float fVolume ) : void | ||
Call_SetWindowSize ( ) : void | ||
Call_Stop ( ) : void | ||
Call_UnLoad ( ) : void | ||
Call_UpdateVideoTexture ( ) : void | ||
CopyStreamingAssetVideoAndLoad ( string strURL ) : IEnumerator | ||
EasyMovieTextureRender ( ) : IntPtr | ||
GetJavaObject ( ) : |
||
InitNDK ( ) : void | ||
VideoPlayerPluginCanOutputToTexture ( string videoURL ) : bool | ||
VideoPlayerPluginCreateInstance ( ) : int | ||
VideoPlayerPluginCurFrameTexture ( int iID ) : IntPtr | ||
VideoPlayerPluginCurTimeSeconds ( int iID ) : float | ||
VideoPlayerPluginDestroyInstance ( int iID ) : void | ||
VideoPlayerPluginDurationSeconds ( int iID ) : float | ||
VideoPlayerPluginError ( int iID ) : bool | ||
VideoPlayerPluginExtents ( int iID, int &width, int &height ) : void | ||
VideoPlayerPluginFinish ( int iID ) : bool | ||
VideoPlayerPluginIsPlaying ( int iID ) : bool | ||
VideoPlayerPluginLoadVideo ( int iID, string videoURL ) : void | ||
VideoPlayerPluginPauseVideo ( int iID ) : void | ||
VideoPlayerPluginPlayVideo ( int iID ) : void | ||
VideoPlayerPluginPlayerReady ( int iID ) : bool | ||
VideoPlayerPluginResumeVideo ( int iID ) : void | ||
VideoPlayerPluginRewindVideo ( int iID ) : void | ||
VideoPlayerPluginSeekToVideo ( int iID, float time ) : void | ||
VideoPlayerPluginSetLoop ( int iID, bool bLoop ) : void | ||
VideoPlayerPluginSetSpeed ( int iID, float fSpeed ) : void | ||
VideoPlayerPluginSetTexture ( int iID, int iTextureID ) : void | ||
VideoPlayerPluginSetVolume ( int iID, float fVolume ) : void | ||
VideoPlayerPluginStopVideo ( int iID ) : void |
public DownloadStreamingVideoAndLoad ( string strURL ) : IEnumerator | ||
strURL | string | |
Résultat | IEnumerator |
public DownloadStreamingVideoAndLoad2 ( string strURL ) : IEnumerator | ||
strURL | string | |
Résultat | IEnumerator |
public GetCurrentState ( ) : MEDIAPLAYER_STATE | ||
Résultat | MEDIAPLAYER_STATE |
public GetVideoTexture ( ) : |
||
Résultat |
public OnApplicationPause ( bool bPause ) : void | ||
bPause | bool | |
Résultat | void |
public OnError ( MEDIAPLAYER_ERROR iCode, MEDIAPLAYER_ERROR iCodeExtra ) : void | ||
iCode | MEDIAPLAYER_ERROR | |
iCodeExtra | MEDIAPLAYER_ERROR | |
Résultat | void |
public SetSeekBarValue ( float fValue ) : void | ||
fValue | float | |
Résultat | void |
public SetSpeed ( float fSpeed ) : void | ||
fSpeed | float | video playback speed. |
Résultat | void |
public VideoFirstFrameReady OnVideoFirstFrameReady | ||
Résultat | VideoFirstFrameReady |