• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 659 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0082 秒)

601. laya.ui.ScrollBar [ 41%]

...。 ScrollBar texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite  thumbPercent...

来源: Laya2.0_api 发布时间: 20190513

602. 加载.lh文件 运行后黑屏 无法显示 [ 41%]

...为官方案例示例代码  Copy过来的  希望各位给看一下  图片为运行的结果 import GameConfig from "./GameConfig";  class Main {     //private scene:Laya.Scene3D;     private text:Laya.Text;     private _upVector3:Laya.Vector3 = new Laya.Vector3(0, 1, 0);     c...

来源: Laya_社区 发布时间: 20190531

603. laya.ui.UIGroup [ 40%]

...签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值...

来源: laya_api 发布时间: 20170929

604. laya.display.Animation [ 40%]

...刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : ...

来源: Laya2.0_api 发布时间: 20190513

605. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 40%]

...时候需要在导入资源的时候做一些自动化处理,比如导入图片时自动设置为精灵纹理,设置压缩格式等,这时可以使用IAssetProcessor接口,接口的定义如下: export interface IAssetProcessor { //在图片资源被导入前调用 onPreprocessImage?(asset...

来源: Laya3.0_文档 发布时间: 20240918

606. laya.ui.ScrollBar [ 40%]

...象。 ScrollBar texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite  thumbPercent : Number获取或设置一个值,该值表示滑条长度比例,值为:(0-1)。 S...

来源: laya_api 发布时间: 20170929

607. laya.ui.TextArea [ 40%]

... 实例。 Label texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值...

来源: laya_api 发布时间: 20170929

608. 使用IDE构建工程(TypeScript-LayaNative原生服务-LayaNative工具使用) [ 40%]

...的 App 工程项目的存放地址。 * 资源路径: 资源是脚本、图片、声音等资源。对于在线游戏,只要有游戏的url就能正常运行,但是把资源直接打进App包中的话,可以避免网络下载,加快资源载入速度。如果是单机游戏,由于没有...

来源: Laya2.0_文档 发布时间: 20210715

609. laya.display.Animation [ 39%]

...意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通...

来源: laya_api 发布时间: 20170929

610. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 39%]

...【注意:目前不支持文本的垂直居中对齐,开发可以将(图片的高度-文本的高度)/2的值赋给文本的Y值,进行垂直居中对齐的替代设置】 示例如下:var html3:HTMLDivElement=new HTMLDivElement(); html3.style.lineHeight=30; html3.style.width=300; html3....

来源: Laya_社区 发布时间: 20161027