大约有 348 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0085 秒)
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为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 Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
怎样获取父类? //我在这个类里添加一个页面TipsView为子类 ... ... var tipView = new TipsView(); this.addChild(tipView); function enterNextScene() { } ... ... //这个是TipsView.js类,我想在这个类里调用上面那个父类里enterNextScene的方法,如何...
来源: Laya_社区 发布时间: 20171017
[LayaAir2]打包成APP项目后,无法获取index.html下的变量和库 之前是一直发布h5的,能正常运行。现在构建APP后,发现无法获取index.html下的配置。例如获取uijsonFileUrl,通过window["uijsonFileUrl"]方式去获取,安卓端这边显示这个值是undef...
来源: Laya_社区 发布时间: 20240826
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...具体功能。然后只在Main里开一个frameLoop,作为主循环,获取delta。主循环中调用顶层节点的update。 为了减少update子节点的层层调用,我重写了addChild的逻辑,使最上层的节点保存了所有子节点的列表,updateChildren的时候就不层...
来源: Laya_社区 发布时间: 20170821
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 currentCreationLayer currentCreationLayer: number = Math.pow(2, 0) Defined in laya/d3/core/scene/Sc...
来源: Laya3.0_api 发布时间: 20231115
3D场景UNITY导出相机,怎么获取并使用 child":[ { "type":"Camera", "props":{ "isStatic":false, "name":"AutoCamera", "clearFlag":1, "orthographic":false, "fieldOfView":60, "nearPlane":0.3, "farPlane":90 }, var camera= scene.getChildByName("AutoCamera"); console.log(camera); 2017-09-26 添...
来源: Laya_社区 发布时间: 20170926
Animation创建时无法获取高度 var roleAni = new Laya.Animation(); roleAni.loadImages( this.aniUrls( v1, v2, tip, frames ) ).play(); roleAni.pos(x,y); this.root.addChild( roleAni ); roleAni.pivotY = roleAni.getBounds().height; console.log("---> ", roleAni.getBounds() ); 打印为 ---> ...
来源: Laya_社区 发布时间: 20170824