大约有 2,619 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)
Laya_社区(1653) Laya3.0_api(320) Laya2.0_api(218) laya_api(186) Laya2.0_文档(147) Laya3.0_文档(94) Laya2.0_示例(1)
...后图集错乱 关于apk打包动画卡的问题 一个时间轴动画里创建的多个动画,怎么分别调用?如图 这样写的代码,Tween动画里面只有alpha有效果,scalex和scaley没有变化,怎么回事啊? laya3D动画无法播放 为什么ani动画执行的不是按中...
来源: Laya_社区 发布时间: 20190514
...用动画结束on方法,报错this.zombieAnimator.on is not a function 创建官方示例3D Laya.Sprite3D.load("res/threeDimen/skinModel/Zombie/Zombie.lh", Laya.Handler.create(this, function(zombie:Laya.Sprite3D):void { scene.addChild(zombie); this.zombieAnimator = (zombie.getChildAt(0) as Laya.Sp...
来源: Laya_社区 发布时间: 20190507
... ObjectImplements IVertex VertexPositionNormalColorTextureTangent 类用于创建位置、法线、颜色、纹理、切线顶点结构。 Public Properties PropertyDefined By color : Vector4[read-only] VertexPositionNormalColorTexture0Texture1Tangent normal : Vector3[read-only] VertexPositio...
来源: laya_api 发布时间: 20170929
...的图集是做什么用的,只是给IDE的page加载使用么。当我创建一个空的sp的时候,load资源的路径还是需要相对的资源目录。这样不就有两份资源浪费了么。 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20180110
...put Label UIComponent Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boo...
来源: Laya2.0_api 发布时间: 20190513
...ded(){ var btn = new Laya.Button("res/a.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:0;w...
来源: Laya2.0_文档 发布时间: 20210714
...Input Label Component Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": ...
来源: laya_api 发布时间: 20170929
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...浏览: 3921 关注: 3 人 爱有你 • 2018-09-27 15:22 我是用TS,我创建的是2D项目,用官方自带的示例 爱有你 • 2018-09-27 15:24 我刚刚新建官方3D示例,编译成功了,我没遇到编译错误的问题啊。 爱有你 • 2018-09-27 15:24 你的机器上没装Node...
来源: Laya_社区 发布时间: 20180927
...ore/light/SpotLightCom" SpotLightCom Class SpotLightCom SpotLight 类用于创建聚光。 Hierarchy Light SpotLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBa...
来源: Laya3.0_api 发布时间: 20231115