纳金网

标题: MovieTexture 影片纹理 [打印本页]

作者: .    时间: 2013-1-25 14:43
标题: MovieTexture 影片纹理
【MovieTexture 影片纹理】Inherits from TextureMovie 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变量]    audioClip
    Returns the AudioClip belonging to the MovieTexture.
    返回属于MovieTexture的AudioClip。
    loop
    Set this to ***e to make the movie loop.
    设置为***e,将使影片循环播放。
   isPlaying
    Returns whether the movie is playing or not
    返回影片是否正播放。
    isReadyToPlay
    If the movie is downloading from a web site, this returns if enough data has been downloaded so playback should be able to start without inte***ptions.
    如果影片是从网站上下载的,这个返回是否已经下载了足够的数据以便能够不中断的播放它。
    duration
    持续时间---------------------------------------------------------------------------------[Functions函数]    Play
    Starts playing the movie.
    开始播放影片。
    Stop
    Stops playing the movie, and rewinds it to the beginning
    停止播放影片,并后退到开始处。
    Pause
    Pauses playing the movie.
    暂停播放影片。---------------------------------------------------------------------------------[Inherited members继承成员]
[Inherited Variables继承变量]    width
    Width of the texture in pixels (Read Only)
    以像素为单位的贴图宽度 (只读)
    height
    Height of the texture in pixels (Read Only)
    以像素为单位的贴图的高度(只读)
    filterMode
    Filtering mode of the texture.
    贴图的过滤模式
    anisoLevel
    Anisotropic filtering level of the texture.
    贴图的各向异性等级。(增加等级意味着更好的贴图效果,但是会需要更大的开销,减小则减少开销,代价是较远处或侧面的贴图会变得模糊。)
    wrapMode
    Wrap mode (Repeat or Clamp) of the texture.
    循环模式 (重复或强制拉伸?)
    mipMapBias
    Mip map bias of the texture.
    Mip贴图偏移    name
    The name of the object. //物体的名字
    hideFlags
    Should the object be hidden, saved with the scene or modifiable by the user?
    物体是否被隐藏、保存在场景中或被用户修改?---------------------------------------------------------------------------------[Inherited Functions继承函数]    GetNativeTextureID
    Retrieve native ('hardware') handle to a texture
    检索本地纹理('硬件')    GetInstanceID
    Returns the instance id of the object.
    返回物体的实例ID
    ToString
    Returns the name of the game object.
    返回游戏物体的名称。---------------------------------------------------------------------------------[Inherited Class Functions继承类函数]    operator bool
    Does the object exist?
    物体是否存在?
    Instantiate
    Clones the object original and returns the clone.
    克隆原始物体,并返回克隆的物体
    Instantiate.<T>
    Destroy
    Removes a gameobject, component or asset.
    删除一个游戏物体、组件或资源
    DestroyImmediate
    Destroys the object obj immediately. It is strongly recommended to use Destroy instead.
    立即销毁物体obj,强烈建议使用Destroy代替。
    FindObjectsOfType
    Returns a list of all active loaded objects of Type type.
    返回Type类型的所有激活的加载的物体列表
   FindObjectOfType
    Returns the first active loaded object of Type type.
    返回Type类型第一个激活的加载的物体。
    operator ==
    Compares if two objects refer to the same
    比较如果两个物体相同
    operator !=
    Compares if two objects refer to a different object
    比较如果两个物体不同
    DontDestroyOnLoad
    Makes the object target not be destroyed automatically when loading a new scene.
    加载新场景的时候使目标物体不被自动销毁。【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/




欢迎光临 纳金网 (http://wwww.narkii.com/club/) Powered by Discuz! X2.5