大约有 245 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0091 秒)
...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
...? 请问laya有没有地图编辑器工具? 请问有没有方法能够获取“鼠标是否处于按下状态”? 请问在layaIDE里,怎么调用微信小程序API 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 骨骼动画播放完后的回调...
来源: Laya_社区 发布时间: 20180514
...owserWidth + " " + browserHeight + " " + pixelRatio); // 获取canvas元素对应的DOM对象 var canvas = document.getElementById('canvas'); var div1 = document.getElementById('div1'); // 获取在canvas上绘图的CanvasRenderingC...
来源: Laya_社区 发布时间: 20200604
...V : Array[static] 反转 UV 信息。Texture isLinearSampling : Boolean 获取当前纹理是否启用了线性采样。 Texture loaded : Boolean[read-only] 表示是否加载成功,只能表示初次载入成功(通常包含下载和载入),并不能完全表示资源是否可立即使...
来源: 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
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Te...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Te...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in lay...
来源: Laya3.0_api 发布时间: 20231102
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in lay...
来源: Laya3.0_api 发布时间: 20231102