大约有 1,363 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1071) Laya3.0_api(81) Laya2.0_api(57) laya_api(53) Laya2.0_文档(50) Laya3.0_文档(38) Laya2.0_示例(7) Laya_示例(6)
...50,100); var _texture = new Laya.Texture(sharedCanvas); var sp2 = new Laya.Sprite(); sp2.x = 300; sp2.graphics.drawTexture(_texture,0,0,100,100); Laya.stage.addChild(sp2); 文档说好像可以 报错了。 this.bitmap.activeResource is not a function 有其他的方法将一个canvas的内容绘...
来源: Laya_社区 发布时间: 20171113
...<picAy.length;i++) { var texture:Texture= Loader.getRes(picAy); var ape:Sprite = new Sprite; //ape.x=i*(stageWidth/4) //Tween.to(ape, { x : i*(stageWidth/4) },1500,Ease.sineOut); var bl:Number=texture.width/texture.height ape.graphics.drawTexture(texture,0,0,stageWidth/4,stageWidth/4/bl); apesCtn...
来源: Laya_社区 发布时间: 20161026
...例参考代码如下 参考代码如下:package { import laya.display.Sprite; import laya.display.Text; import laya.ui.Image; import laya.webgl.WebGL; public class TTFTest { public function TTFTest() { Laya.init(550,400); var sp:Image=new Image(); sp.loadImage("2.png"); Laya.stage.addChild(sp); v...
来源: Laya_社区 发布时间: 20160514
...orm.rotate(new Laya.Vector3( -15, 0, 0), true, false); scene.addChild(Laya.Sprite3D.load("../../../../../../../res/resourse/particle/ETF_Eternal_Light.lh")); //此处为控制台的输出 Warning!,this class[MiniAdpter] already exist: Object {init: } ShaderCompile use time:7 size:1426/6889 Gradient...
来源: Laya_社区 发布时间: 20190301
...s | Events Packagelaya.uiClasspublic class ComponentInheritanceComponent Sprite Node EventDispatcher ObjectImplements IComponentSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager Component 是ui控件类的基类。 生命周期:preiniti...
来源: laya_api 发布时间: 20170929
...: 错误效果: 代码逻辑很简单 在场景上面添加了一个Sprite3D 如果在U3D里面 主像机激活就会出现两个人物,如果不激活 导出来就是正确的. LayaIDE版本:1.7.19.1beta版本插件版本:LayaAirUnityPlugin 1.7.16.unitypackage 附件 : --> LayaScene_1...
来源: Laya_社区 发布时间: 20180816
... Events Packagelaya.uiClasspublic class TreeInheritanceTree Box Component Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...
来源: laya_api 发布时间: 20170929
...载TFF字体要怎么加载呢? IDE1.7.8 json图集加载问题 new Laya.Sprite();绘制图形以后,怎么删除释放资源? Animation 的createFrames 使用已经加载的图集缓存动画失败 LayaAir 库文件加载速度慢 编辑了图片 执行代码说加载不出来资源 这个是...
来源: Laya_社区 发布时间: 20180522
...记(比如通过name值)可以取得到对象, 刚体里边这个LayaSprite看起来好像就是stage里边对应的sprite的,可是应该怎么设置上?(图下) 附件 : --> 2017-11-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20171121
...来自: 实现步骤: 1、定义一个Item,界面分两层(可用两个Sprite进行划分) class Item extends ui.itemUI { private state = 0; constructor() { super(); //点击最先出来的按钮,会显示下一层界面,同时隐藏自己 this.btnFirst.on(Laya.Event.CLICK, this, this.change, ...
来源: Laya_社区 发布时间: 20180810