大约有 1,040 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0085 秒)
Laya_社区(690) Laya3.0_api(83) Laya2.0_api(77) Laya2.0_文档(75) laya_api(71) Laya3.0_文档(33) Laya_示例(6) Laya2.0_示例(5)
...eChildren?: boolean): Box Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns Box Properties Optional _extra _extra: INodeExtra Inherited from N...
来源: Laya3.0_api 发布时间: 20231115
...dren?: boolean): ScaleBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited f...
来源: Laya3.0_api 发布时间: 20231115
...折叠 要回复问题请先登录 发起人 C001 相关问题 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有几率会穿透 Laya3D里的material可以设置flat shading么 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=tru...
来源: Laya_社区 发布时间: 20180416
...命!canvas定位后 点击区域偏移,求大大们解答 如何设置Sprite的宽高和点击区域? 求指点3d射线碰撞和UI点击穿透的问题 关于遍历产生的sprite的点击事件,急,大神帮看哈 [分享]Dialog 点击边缘不关闭的 Demo示例 打包android版本 点...
来源: Laya_社区 发布时间: 20170518
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _scene3D _scene3D: any Inherited from Scene._scene3D Defined in laya/display/Scene.ts:28 _skinBaseUrl _skinBaseUrl: string Inher...
来源: Laya3.0_api 发布时间: 20231115
... _graphics _graphics: AutoBitmap Inherited from Button._graphics Overrides Sprite._graphics Defined in laya/ui/Button.ts:212 _ownGraphics _ownGraphics: boolean = false Implementation of ISelect._ownGraphics Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Im...
来源: Laya3.0_api 发布时间: 20231115
...了,但是检测的结果一直是-1 相关代码:const field: Laya.MeshSprite3D = this.scene.getChildByName("stadium").getChildByName("field") as Laya.MeshSprite3D;//拿到地板 const sprite3d1MeshCollider: Laya.MeshCollider = field.addComponent(Laya.MeshCollider) as Laya.MeshCollider; sprite3d1...
来源: Laya_社区 发布时间: 20180316
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...叠 要回复问题请先登录 发起人 LayaYX 相关问题 matter中layasprite怎么改变图片大小? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 matter 物理引擎 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 摄像机跟随刚体移动,刚体出现抖动。 Lay...
来源: Laya_社区 发布时间: 20180830
...IGN_MIDDLE; //设置适配模式 Laya.stage.scaleMode = "showall"; //添加Sprite var sp = new Laya.Sprite(); Laya.stage.addChild(sp); //将sp移动到横坐标400,纵坐标300的位置 sp.pos(400,300); //绘制两条在sp的原点交叉的直线 sp.graphics.drawLine(-50,0,50,0,'#00ff00',1); sp.gr...
来源: Laya_社区 发布时间: 20180524