大约有 475 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
Laya3.0_api(141) Laya2.0_api(90) laya_api(79) Laya_社区(70) Laya2.0_文档(60) Laya3.0_文档(28) Laya2.0_示例(4) Laya_示例(3)
...式版wss连接不成功web版本没问题,有DEMO 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 Laya 鼠标Cursor怪异问题,有demo View嵌套Dialog组件 List滑动条会引起单元格上的按钮点击后多次触发点击事...
来源: Laya_社区 发布时间: 20190522
...囊碰撞器 var sphereShape = new Laya.CapsuleColliderShape(1.0, 3.4); //设置Shape的本地偏移 sphereShape.localOffset = new Laya.Vector3(0, 1.7, 0); //设置角色控制器的碰撞形状 character.colliderShape = sphereShape; ``` (图3)
来源: Laya2.0_文档 发布时间: 20210715
...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAsynLoaded(url:String, data:*, params:Array):void private Sprite3D onc...
来源: laya_api 发布时间: 20170929
...ape:Laya.CapsuleColliderShape = new Laya.CapsuleColliderShape(1.0, 3.4); //设置Shape的本地偏移 sphereShape.localOffset = new Laya.Vector3(0, 1.7, 0); //设置角色控制器的碰撞形状 character.colliderShape = sphereShape; ``` (图3)
来源: Laya2.0_文档 发布时间: 20210714
...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAsynLoaded(url:String, data:*, params:Array):void private Sprite3D onc...
来源: laya_api 发布时间: 20170603
...ited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...r sphereShape:CapsuleColliderShape = new CapsuleColliderShape(1.0, 3.4); //设置Shape的本地偏移 sphereShape.localOffset = new Vector3(0, 1.7, 0); //设置角色控制器的碰撞形状 character.colliderShape = sphereShape; ``` (图3)
来源: Laya2.0_文档 发布时间: 20210715
...ue: AnimatorUpdateMode): void Defined in laya/d3/component/Animator.ts:123 设置更新模式 Parameters value: AnimatorUpdateMode Returns void Methods _initialize _initialize(): void Inherited from Component._initialize Defined in laya/components/Component.ts:56 Returns void _setOwner _setOwner(nod...
来源: Laya3.0_api 发布时间: 20231102
...子形状碰撞器 var boxShape = new Laya.BoxColliderShape(sX, sY, sZ); //设置盒子的碰撞形状 rigidBody.colliderShape = boxShape; //设置刚体的质量 rigidBody.mass = 10; ``` #### (2) SphereColliderShape球 球体是一个基本的球体形状的圆形碰撞盒。可以通过设置半...
来源: Laya2.0_文档 发布时间: 20210715
...ited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...
来源: Laya3.0_api 发布时间: 20231115