Свойство | Тип | Описание | |
---|---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | IEnumerator |
public DownloadStreamingVideoAndLoad2 ( string strURL ) : IEnumerator | ||
strURL | string | |
Результат | IEnumerator |
public GetCurrentState ( ) : MEDIAPLAYER_STATE | ||
Результат | MEDIAPLAYER_STATE |
public GetVideoTexture ( ) : |
||
Результат |
public OnApplicationPause ( bool bPause ) : void | ||
bPause | bool | |
Результат | void |
public OnError ( MEDIAPLAYER_ERROR iCode, MEDIAPLAYER_ERROR iCodeExtra ) : void | ||
iCode | MEDIAPLAYER_ERROR | |
iCodeExtra | MEDIAPLAYER_ERROR | |
Результат | void |
public SetSeekBarValue ( float fValue ) : void | ||
fValue | float | |
Результат | void |
public SetSpeed ( float fSpeed ) : void | ||
fSpeed | float | video playback speed. |
Результат | void |
public VideoFirstFrameReady OnVideoFirstFrameReady | ||
Результат | VideoFirstFrameReady |