大约有 2,684 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0083 秒)
Laya_社区(2159) Laya2.0_文档(119) Laya3.0_api(106) Laya_示例(84) Laya2.0_api(57) Laya2.0_示例(55) laya_api(53) Laya3.0_文档(51)
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使...
来源: Laya_社区 发布时间: 20180613
... export default class DirectMove extends Laya.Script { declare owner: Laya.Sprite3D; private characterController: Laya.CharacterController; onAwake(): void { // 获取 角色控制器 组件并赋值给 characterController this.characterController = this.owner.getComponent(Laya.CharacterController);...
来源: Laya3.0_文档 发布时间: 20251010
... 相关问题 使用钢体设置防穿后仍有几率会穿透 如何设置Sprite的宽高和点击区域? 关于同为object层,层级设置无效的问题 Laya3D里的material可以设置flat shading么 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? new Laya.Spri...
来源: Laya_社区 发布时间: 20190724
... { "sg.png": { "frame": { "x": 0, "y": 0, "w": 300, "h": 300, "idx": 0 }, "spriteSourceSize": { "x": 0, "y": 0, "w": 300, "h": 300 }, "sourceSize": { "w": 300, "h": 300 }, "rotated": false, "trimed": true }, "sg2.png": { "frame": { "x": 302, "y": 0, "w": 290, "h": 300, "idx": 0 }, "spriteSourceSize"...
来源: Laya_社区 发布时间: 20170329
...同的对象,调用第一个的一个方法,走进了第二方法里 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 缓动Tween能用在3D物体或者特效上面吗? 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的...
来源: Laya_社区 发布时间: 20180524
... Packagelaya.d3.core.sceneClasspublic class BaseSceneInheritanceBaseScene Sprite Node EventDispatcher ObjectImplements ISubmitSubclasses Scene, VRScene BaseScene 类用于实现场景的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By...
来源: laya_api 发布时间: 20170422
...数才是碰撞点 图就是再碰撞了通过localToGlobal转了之后用sprite.graphics画出来碰撞点位置。 附件 : --> 2019-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来...
来源: Laya_社区 发布时间: 20191216
... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number...
来源: laya_api 发布时间: 20170929
....ChainCollider=new Laya.ChainCollider(); chains.points="25,25,50,50"; this.sprite.addComponent(chains); 情况2:修改已有ChainCollider属性points时报错 在sprite下手动添加组建ChainCollider,使用代码更改属性points,则报错 var chains=this.sprite.getComponent(Laya.ChainColl...
来源: Laya_社区 发布时间: 20181128
...同来自: 我遇到类似的情况, 用 Laya.loader.create() 预加载 Sprite3D (2.0 插件导出的 lh) 文件 加载成功后,用 Laya.loader.getRes() 获取 let sprite3D: Laya.Sprite3D = Laya.loader.getRes(resName) as Laya.Sprite3D; 调试发现 获取到的 对象居然是 string 类型...
来源: Laya_社区 发布时间: 20180126