大约有 1,039 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0070 秒)
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...owserWidth + " " + browserHeight + " " + pixelRatio); // 获取canvas元素对应的DOM对象 var canvas = document.getElementById('canvas'); var div1 = document.getElementById('div1'); // 获取在canvas上绘图的CanvasRenderingC...
来源: Laya_社区 发布时间: 20200604
...持在最底部显示? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 iphone自带浏览器页面怎么锁定 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 问题状态 最新活动: 2017-08-02 14:58 浏览: 1192 关注: 4 人 reven1983 • 2017-08-...
来源: Laya_社区 发布时间: 20170802
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929
...处理类。 Public Properties PropertyDefined By bitmap : Texture2D 获取位图。 Texture destroyed : Boolean[read-only] 获取是否已经销毁。 Texture height : Number 实际高度。Texture offsetX : Number = 0沿 X 轴偏移量。Texture offsetY : Number = 0沿 Y 轴偏移...
来源: Laya2.0_api 发布时间: 20190513
... Public Properties PropertyDefined By buffer : ArrayBuffer[read-only] 获取此对象的 ArrayBuffer 数据,数据只包含有效数据部分。 Byte bytesAvailable : int[read-only] 可从字节流的当前位置到末尾读取的数据的字节数。 Byte endian : String Byte 实例的...
来源: Laya2.0_api 发布时间: 20190513
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput ...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定...
来源: laya_api 发布时间: 20170929
...减少CPU使用量3.1 减少动态属性查找3.2 性能消耗的回收3.3 获取显示对象边界的做法3.4 根据活动状态改变帧频3.5 使用callLater3.6 图片/图集加载四、其它优化策略4.1 减少粒子的使用数量4.2 尽量减少旋转,缩放,alpha等属性的使用4.3 ...
来源: Laya3.0_文档 发布时间: 20251010