大约有 3,276 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
...n来估算速度 Rigidbody:从组件所属节点上的刚体组件中获取速度值,相当于使用了物理引擎计算的速度。 Custom:自定义速度,选择这个值后会出现EmitterVelocity这个属性,用于设置速度值。 MaxParticles(最大粒子数):系统中...
来源: Laya3.0_文档 发布时间: 20260122
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...在根节点脚本组件上阻止图片脚本组件的enable方法,可以获取到图片脚本组件后设置enabled或者在图片脚本组件的onAdded声明周期内根据owner的active状态来设置enabled状态。 2023-10-07 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...
来源: Laya_社区 发布时间: 20231007
...clickHandler():void{ var url:string = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } } new Main; ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到...
来源: Laya2.0_文档 发布时间: 20210715
...;绘制图形以后,怎么删除释放资源? 分享:LayaAir下如何获取图集下的小图资源? 请问下loader如何强制加载一个文件,避免浏览器的缓存 Animation 的createFrames 使用已经加载的图集缓存动画失败 编辑了图片 执行代码说加载不出来...
来源: Laya_社区 发布时间: 20181201
...化]希望官方可以增加stencil功能 localToGlobal坐标转换 怎么获取对象的坐标 官网示例摇一摇报错,就解决方案 问题状态 最新活动: 2017-08-08 09:15 浏览: 1353 关注: 2 人 sfsmmc • 2017-08-08 09:14 比如说:我想把模型放在(0,0,0)位置,我该...
来源: Laya_社区 发布时间: 20170807
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 ratio ratio: number = 1.5 Defined in laya/physics/joint/PulleyJoint.ts:27 [首次设置有效]两刚体移动距离比率 Optional runInEditor runInEditor: boolean Inherited from Component.runInEdito...
来源: Laya3.0_api 发布时间: 20231115
...GameManager.js的LoadSceneFin方法内,在制作拐弯墙预制体时,获取的节点wallCurve未添加组件,错误的给wall又添加了一次组件导致,将制作拐弯墙预制体的wall.addComponent(Wall)改为wallCurve.addComponent(Wall);另外在GameManager.js的spawnCurveWall方...
来源: Laya_社区 发布时间: 20220325
...模型,想给它六个面贴不同的贴图,该如何处理? 如何获取一个3D模型的长宽高? 模型资源释放问题 问题状态 最新活动: 2020-04-02 10:31 浏览: 2303 关注: 2 人 155*****553 • 2020-04-02 08:13 请问 具体怎么做呀。? 这个页面在一开始设置...
来源: Laya_社区 发布时间: 20200401
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115