用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:movietexture:movietexture

MovieTexture 影片纹理

class in UnityEngine / Inherits from: Texture

Description 描述

Movie Textures are textures onto which movies are played back.

MovieTexture是可以播放电影的纹理。

They can be used for cutscene movie sequences, or to render movies into the scene itself.

它们可以用于过场动画影片序列或者渲染电影到场景中。

Variables 变量

audioClipReturns the AudioClip belonging to the MovieTexture.
返回MovieTexture上的音频剪辑。
durationThe time, in seconds, that the movie takes to play back completely.
获得影片完全播放的时间,以秒为单位。
isPlayingReturns whether the movie is playing or not.
返回影片是否正播放。
isReadyToPlayIf the movie is downloading from a web site, this returns if enough data has been downloaded so playback should be able to start without interruptions.
如果影片是从网站上下载的,这个返回是否已经下载了足够的数据以便能够不中断的播放它。
loopSet this to true to make the movie loop.
设置为true,将使影片循环播放。

Public Functions 共有函数

PausePauses playing the movie.
暂停播放影片。
PlayStarts playing the movie.
开始播放影片。
StopStops playing the movie, and rewinds it to the beginning.
停止播放影片,并后退到开始处。
script/unityengine/classes/movietexture/movietexture.txt · 最后更改: 2016/08/02 05:36 (外部编辑)