大约有 1,054 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(615) Laya_示例(157) Laya2.0_文档(149) Laya2.0_示例(116) laya_api(7) Laya3.0_文档(5) Laya3.0_api(3) Laya2.0_api(2)
提示 is not function 我都有定义 这方法 ···呀 附件 : --> 2017-02-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 你应该是执行域改变导致的,默认as3环境下执...
来源: Laya_社区 发布时间: 20170211
...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
...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
...序 但是分享功能加不进去 网上都说 Page({ onShareAppMessage: function () { } }) 这样就行了 但是我这边提示 Page is not defined ReferenceError: Page is not defined 我要是单独写 onShareAppMessage: function () { } 他就提示 onShareAppMessage is not defined 我用官网...
来源: Laya_社区 发布时间: 20180411
...age { public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var a:TestData = new TestData(); a.a = 1; ...
来源: Laya_社区 发布时间: 20171215
...下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
...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
...均可以设置一个回调 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
...的方式不对 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
...`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