C# 클래스 MoviePlayerSample, Shrednought

상속: MonoBehaviour
파일 보기 프로젝트 열기: 9/Shrednought

공개 프로퍼티들

프로퍼티 타입 설명
movieName string

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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 ) : AndroidJavaObject

Set up the video player with the movie surface texture id.

메소드 상세

Awake() 공개 메소드

Initialization of the movie surface
public Awake ( ) : void
리턴 void

OnApplicationPause() 공개 메소드

Pauses video playback when the app loses or gains focus
public OnApplicationPause ( bool wasPaused ) : void
wasPaused bool
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

movieName 공개적으로 프로퍼티

public string movieName
리턴 string