NGUI v2.0 UI_4:UIFilledSprite UI填充精灵类
来源:互联网 发布:终结者2 知乎 编辑:程序博客网 时间:2024/06/04 22:47
UIFilledSprite Class Reference
UIFilledSprite类引用
Similar to a regular UISprite, but lets you only display a part of it. Great for progress bars, sliders, and alike. Originally contributed by David Whatley.More...
Inheritance diagram for UIFilledSprite:
类似于普通UISprite,而且让你只显示它的一部分。伟大的进度条,滚动条和相似。最初由大卫·Whatley贡献。更多…
继承关系图UIFilledSprite:
List of all members.
Public Types公共类型
enum FillDirectionPublic Member Functions公共成员函数
override void OnFill (BetterList< Vector3 > verts, BetterList< Vector2 > uvs, BetterList< Color > cols) Virtual function called by the UIScreen that fills the buffers.虚函数调用的UIScreen填充缓冲区。
Properties属性
FillDirection fillDirection [get, set]
Direction of the cut procedure. 削减程序的方向。
float fillAmount [get, set]
Amount of the sprite shown. 0-1 range with 0 being nothing shown, and 1 being the full sprite.精灵的数量显示。0 - 1之间 0是没有显示出来,1是完整的精灵。
Detailed Description详细描述
Similar to a regular UISprite, but lets you only display a part of it. Great for progress bars, sliders, and alike. Originally contributed by David Whatley.
类似于普通UISprite,而且让你只显示它的一部分。伟大的进度条,滚动条和相似。最初由大卫·Whatley贡献。
Member Function Documentation成员函数文档
override void UIFilledSprite.OnFill(BetterList< Vector3 > verts, BetterList< Vector2 > uvs, BetterList< Color > cols )
[virtual]
Virtual function called by the UIScreen that fills the buffers. 虚函数调用的UIScreen填充缓冲区。
Reimplemented from UISprite.从UISprite重新实现。
Property Documentation属性文档
float UIFilledSprite.fillAmount
[get, set]
Amount of the sprite shown. 0-1 range with 0 being nothing shown, and 1 being the full sprite.
精灵的数量显示。0 - 1之间 0是没有显示出来,1是完整的精灵。
FillDirection UIFilledSprite.fillDirection
[get, set]
Direction of the cut procedure.
削减程序的方向。
The documentation for this class was generated from the following file:这个类的文档生成从以下文件:
- Assets/NGUI/Scripts/UI/UIFilledSprite.cs
- NGUI v2.0 UI_4:UIFilledSprite UI填充精灵类
- NGUI v2.0 UI_1:UIAnchor UI锚定类
- NGUI v2.0 UI_3:UICamera UI摄像机类
- NGUI v2.0 Interaction_2:UIButtonColor UI按钮颜色类
- NGUI v2.0 Interaction_3:UIButtonKeys UI按钮按键类
- NGUI v2.0 Interaction_4:UIButtonMessage UI按钮消息类
- NGUI v2.0 Interaction_5:UIButtonOffset UI按钮偏移类
- NGUI v2.0 Interaction_6:UIButtonPlayAnimation UI按钮播放动画类
- NGUI v2.0 Interaction_7:UIButtonRotation UI按钮旋转类
- NGUI v2.0 Interaction_13:UIDragCamera UI拖拽摄像机类
- NGUI v2.0 Interaction_14:UIDraggableCamera UI可拖拽摄像机类
- NGUI v2.0 UI_2:UIAtlas UI图集类
- NGUI v2.0 Tweening_7:UITweener UI间补类
- NGUI v2.0 Interaction_8_9:UIButtonScale UI按钮缩放类 || UIButtonSound UI按钮声音类
- NGUI v2.0 Interaction_12:UICheckboxControlledComponent UI复选框可控组件类
- unity3d Ngui UIFilledSprite(CD倒计时)
- 【Unity&NGUI】UI精灵跟随鼠标移动
- NGUI v2.0 Interaction_10_11:UIButtonTween UI按钮补间类 UICheckbox UI复选框
- http://www.eoeandroid.com/blog-665190-4989.html
- windows 下怎样给你的extjs 项目生成前端api doc
- 【算法导论】22.2-7 树的直径问题
- 微软面试之10 单词翻转
- 简单曲线变化函数
- NGUI v2.0 UI_4:UIFilledSprite UI填充精灵类
- android问题2-AlarmManager
- Linux下FTP命令
- 用checkstyle实现svn的代码规范性检查
- Eclipse安装SVN插件方式简明介绍
- mysql启动
- XML 命名空间(XML Namespaces)
- jdbc对数据库的CRUD操作
- visual studio 运行supermap objects 程序 不兼容问题