大约有 2,785 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0091 秒)
Laya_社区(2256) Laya2.0_文档(123) 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
...个回复被折叠 要回复问题请先登录 发起人 Thin 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 做好的粒子特效在U3D里循环正常。在LAYA插件里预览跳帧闪烁。序列素材本身也是循环的。但是不知道为什么会跳帧。 开启Ca...
来源: Laya_社区 发布时间: 20190517
...: 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
...6) 微信小游戏如何竖屏 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mas...
来源: Laya_社区 发布时间: 20180731
...ren?: boolean): LayoutBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns LayoutBox Properties Optional _extra _extra: INodeExtra Inherited ...
来源: Laya3.0_api 发布时间: 20231115
...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
...象,从而赋给材质; 比如对 Label 对象赋值,然后使用 Sprite.drawToCanvas 和 DataTexture2D.create 接口配合生成贴图对象(宽高128*128,Label内容居中宽高可调,背景透明),然后赋给材质; 现状: 在浏览器环境下,可以通过 Sprite.dra...
来源: Laya_社区 发布时间: 20181010
..."C","D"]; for (var z = 0; z < letterList.length; z++){ var letter = new Sprite(); letter.loadImage("../imgs/linkup/" + letterList[z] + ".png", (bg.width / letterList.length) * z, 0, bg.width / letterList.length, bg.height / 2); Laya.stage.addChild(letter); letter.on("click", this, (function(para)...
来源: Laya_社区 发布时间: 20180810
...: 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
...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