• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,054 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)

151. 提示 is not function [ 82%]

提示 is not function 我都有定义 这方法 ···呀 附件 : --> 2017-02-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 你应该是执行域改变导致的,默认as3环境下执...

来源: Laya_社区 发布时间: 20170211

152. Sprite3D-Sprite3D变换 [ 82%]

...inModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey1 = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey2 = Laya.Sprite3D.instantiate(layaMonkey1, scene, false, new Laya.Vector3(0, 0, 0)...

来源: Laya_示例 发布时间: 20260815

153. unity里导出的骨骼动画无法读取 [ 82%]

...fbx文件导出laya中,读取时报错   __proto._getAvatarOwnersByClip=function(clipIndex){ var frameNodes=this._clips[clipIndex]._nodes; var frameNodesCount=frameNodes.length;   其中frameNodes为空   附件是骨骼动画fbx文件   Unity 5.6.0f3  laya1.7.13 附件 : --> new.rar 2018-01-...

来源: Laya_社区 发布时间: 20180116

154. 小程序分享 [ 82%]

...序 但是分享功能加不进去 网上都说 Page({ onShareAppMessage: function () { } }) 这样就行了 但是我这边提示 Page is not defined ReferenceError: Page is not defined 我要是单独写 onShareAppMessage: function () { } 他就提示 onShareAppMessage is not defined 我用官网...

来源: Laya_社区 发布时间: 20180411

155. as3数组push进去对象,为什么对象的属性没了 [ 82%]

...age {     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640);                          var a:TestData = new TestData();             a.a = 1;        ...

来源: Laya_社区 发布时间: 20171215

156. Sprite3D的克隆(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 82%]

...下Sprite3D中特有的克隆接口`instantiate`。 ```typescript public function static instantiate(original: Sprite3D, parent: Node = null, worldPositionStays: Boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - ...

来源: Laya2.0_文档 发布时间: 20210715

157. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 82%]

...a package { import laya.display.Sprite; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor ="#cccccc"; var data:String= "data:image/svg+xml,"+'' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp:Sprite = new Sprite(); sp....

来源: Laya2.0_文档 发布时间: 20210715

158. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 82%]

...均可以设置一个回调 Laya.LoaderManager.prototype["_loadAssets"] = function (arr, complete, progress, type, priority, cache, group) { (priority === void 0) && (priority = 1); (cache === void 0) && (cache = true); var itemCount = arr.length; var loadedCount = 0; var totalSize =...

来源: Laya_社区 发布时间: 20171226

159. 想做天空盒但是camera上没有sky这个属性 [ 81%]

...的方式不对 public var scene:Scene3D; public var camera:Camera; public function SkyBoxSample1() { Laya3D.init(0, 0); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); //Laya.stage.on(Event.RIGHT_MOUSE_DOWN, this, Destruction); scene = Main.box3D.add...

来源: Laya_社区 发布时间: 20181017

160. 文本基础样式(ActionScript-LayaAir基础篇(AS3)-文本) [ 81%]

...`java package { import laya.display.Text; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var txt:Text = new Text(); txt.text = "hello_world"; txt.color = "#ffffff"; Laya.stage.addChild(txt); } } } ``` 这个时候我们就可以看到txt已经添加...

来源: Laya2.0_文档 发布时间: 20210714