大约有 1,437 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0075 秒)
Laya_社区(1008) Laya3.0_api(149) Laya2.0_api(103) laya_api(77) Laya2.0_文档(51) Laya3.0_文档(47) Laya_示例(2)
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite basePath : String资源根目录。MovieClip blendMode : String指定要使用的混合...
来源: laya_api 发布时间: 20170929
...this.index].x; this._position.z = this.resPath[this.index++].y; //HeightMap获取高度数据 this._position.y = this.terrainSprite.getHeight(this._position.x, this._position.z); if (isNaN(this._position.y)) { this._position.y = this.moveSprite3D.transform.position.y; } this._tarPosition.x = this._p...
来源: Laya3.0_文档 发布时间: 20230303
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
...texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void 加...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指...
来源: laya_api 发布时间: 20170929
...texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void 加...
来源: Laya2.0_api 发布时间: 20190513
...;<span>欢迎你的加入</span>" Laya.stage.addChild(div);2、获取Html文本的实际内容、获取html文本的实际宽高(contextWidth、contextHeight) 示例如下:var htmlDiv:HTMLDivElement=new HTMLDivElement(); var html:String = "<span color='#e3d26a'>使用</spa...
来源: Laya_社区 发布时间: 20161027
...出和使用U3D粒子特效 刮刮卡效果实现 分享:LayaAir下如何获取图集下的小图资源? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 问题状态 最新活动: 2020-08-27 17:07 浏览: 3008 关注: 4 人 • 2018-08-02 12:00 @Laya_Aaron ...
来源: Laya_社区 发布时间: 20180801
...错 window is not defined Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 ide 2.4 layaair2-cmd 编译报错 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 自定义场景类导出layaMaxUI.ts有前缀导致报错 小游戏项目 加载有中文的json文件 报错 ...
来源: Laya_社区 发布时间: 20181024