大约有 2,684 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0105 秒)
Laya_社区(2159) Laya2.0_文档(119) Laya3.0_api(106) Laya_示例(84) Laya2.0_api(57) Laya2.0_示例(55) laya_api(53) Laya3.0_文档(51)
...: 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
...同的对象,调用第一个的一个方法,走进了第二方法里 sprite旋转以后,但是原来碰撞检测rect没有旋转 缓动Tween能用在3D物体或者特效上面吗? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 Texture图片能否进行翻转? 求指点3d...
来源: Laya_社区 发布时间: 20180122
...it(Laya.Browser.width, Laya.Browser.height, Laya.WebGL); var sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.loadImage("res/img/popular.png", 0, 0, 0, 0, Laya.Handler.create(this, function (a1, a2) { console.log(a1, a2); }), [100]); 为什么不能把Laya.Hander.create后面带的这个参数...
来源: Laya_社区 发布时间: 20180621
...候,内部是使用的drawTexture 这个api动态切换图片吗 var sp2:Sprite = new Sprite(); sp2.x = 300; sp2.graphics.drawTexture(_texture,0,0,100,100); 2017-09-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20170927
...t;报错: //飞机 let plane = scene.getChildByName("plane") as Laya.MeshSprite3D; let character: Laya.CharacterController = plane.addComponent(Laya.CharacterController); let collider_shape_box = new Laya.BoxColliderShape(2.5, 0.8, 0.8); collider_shape_box.localOffset.x = -0.5; let collider_sh...
来源: Laya_社区 发布时间: 20210101
...Children?: boolean): VBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns VBox Properties Optional _extra _extra: INodeExtra Inherited from ...
来源: Laya3.0_api 发布时间: 20231115
...: 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
...Children?: boolean): HBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns HBox Properties Optional _extra _extra: INodeExtra Inherited from ...
来源: Laya3.0_api 发布时间: 20231115
...象,从而赋给材质; 比如对 Label 对象赋值,然后使用 Sprite.drawToCanvas 和 DataTexture2D.create 接口配合生成贴图对象(宽高128*128,Label内容居中宽高可调,背景透明),然后赋给材质; 现状: 在浏览器环境下,可以通过 Sprite.dra...
来源: Laya_社区 发布时间: 20181010
...bute变量怎么动态修改 动画混合无效(版本2.6) 如何设置Sprite的宽高和点击区域? matter.js mouseconstraint在微信小游戏中无效 2.0 drawTexture color参数无效 关于同为object层,层级设置无效的问题 2.2.0beta4,微信上动态合批报错. anchor锚点...
来源: Laya_社区 发布时间: 20171105