大约有 1,363 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0079 秒)
Laya_社区(1071) Laya3.0_api(81) Laya2.0_api(57) laya_api(53) Laya2.0_文档(50) Laya3.0_文档(38) Laya2.0_示例(7) Laya_示例(6)
...nAssetLoad)); } function onAssetLoad() { older = new Laya.Sprite(); older.loadImage("../laya/assets/comp/image.png"); Laya.stage.addChild(older); console.log(older.scaleX,older.scaleY,older.rotation,older.x,older.y, older.width,older.height,older.getBounds()....
来源: Laya_社区 发布时间: 20170118
... 1 个回复 cuixueying 赞同来自: http://layaair.ldc.layabox.com/demo/?Sprite_DisplayImage#Sprite_DisplayImage 建议你先学习下layaAir的文档和引擎示例吧,layaAir下没有URLLoader类了,不过我们对图片的加载进行了精简,可以参考以上链接! 2017-05-25 0 2 分...
来源: Laya_社区 发布时间: 20170525
...问题请先登录 发起人 liner1457387450 相关问题 lh文件内meshSprite添加阴影属性无效 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 富文本下划线绘制bug unity导出的场景不显示实时阴影 new Laya.Sprite(...
来源: Laya_社区 发布时间: 20171228
...自: 常山赵子龙 let asteroid = asteroidBox.getChildAt(0) as Laya.Sprite3D; asteroidBox.transform.position = new Laya.Vector3(Strong.rangeRandomFloat(-5, 5), 0, 15.4); //asteroidBox.transform.position = new Laya.Vector3(0, 0, 7); //...
来源: Laya_社区 发布时间: 20191115
...象也消失了 是我的方法使用不对吗? 创建模型 let s:Laya.Sprite3D = (Laya.Loader.getRes("LayaScene_Plant/Conventional/Tree_52.lh") ).clone() as Laya.Sprite3D; 销毁模型 destroy(); 帮我看看 谢谢 附件 : --> TestPrefab.zip 2020-06-11 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20200611
...:Assets.zip 导出资源:LayaScene_Model_1001.zip 加载代码 Laya.Sprite3D.load("res/LayaScene_Model_1001/Conventional/Model_1001.lh", Laya.Handler.create(null, (sprite:Laya.Sprite3D) => { this.mScene.addChild(sprite); sprite.transform.translate(new Laya.Vector3(-0.3, 0, 0)); })); 报...
来源: Laya_社区 发布时间: 20200107
...agelaya.d3.core.sceneClasspublic class VRSceneInheritanceVRScene BaseScene Sprite Node EventDispatcher Object VRScene 类用于实现VR场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为...
来源: laya_api 发布时间: 20170422
...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/Clip.ts:151 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
....js:13226) at goldItemNode._onAdded (libs/laya.d3.js:10592) at Sprite3D._addComponentInstance (libs/laya.core.js:13244) at Sprite3D.addComponent (libs/laya.core.js:13291) at game_scene.showPlayerGold (js/bundle.js:278) at game_scene.onPreLoadFinish (js/bundle.js:210) ...
来源: Laya_社区 发布时间: 20200326
发现静态物件使用Laya.Sprite3D.instantiate方法复制出来的渲染批处理反复增加不会合批,这个怎么办? 发现静态物件使用Laya.Sprite3D.instantiate方法复制出来的渲染批处理反复增加不会合批,这个怎么办?复制出来的静态物件都会新...
来源: Laya_社区 发布时间: 20200612