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

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

2371. 在微信分享成功的回调函数里,Laya播放音效失败。 [ 48%]

...ndManager.stopMusic(); Laya.SoundManager.playMusic("res/sound/BGM.mp3", 0, null); // var test = new EffectFlicker(); // test.startRun(); // test.startRun(); // test.create();  // var test = new Q1Buff1();  Laya.stage.off(Laya.Event.MOUSE_DOWN); Laya.stage.off(Laya.Event.MOUSE_MOVE); Laya.stage.off...

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

2372. 3d物理引擎有碰撞不触发onCollisionEnter [ 48%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 问题状态 最新活动: 2020-05-07 15:34 浏览: 2744 关注: 5 人 如果你也听说 • 2021-01-05 11:48 我这边也遇到同样得问题 没添加ccd 不管设置不设置0.1 有时候就是不触...

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

2373. l微信开放域无法显示,但是可以正常传数据 [ 48%]

...son和图集 Laya.loader.load(["res/atlas/test.atlas"],Laya.Handler.create(null,function(){ //加载完成 //使用接口将图集透传到子域 Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); }));子域main.ts: import GameConfig from "./GameConfig"; import BigRank from "./view/...

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

2374. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 48%]

...3D.RENDER_STATE_DEPTH_WRITE } var shader = Laya.Shader3D.add("BLINNPHONG", null, null, true); var subShader = new Laya.SubShader(attributeMap, uniformMap); shader.addSubShader(subShader); subShader.addShaderPass(MeshBlinnPhongVS, MeshBlinnPhongPS, stateMap); ``` > BLINNPHONG材质关联渲染通道...

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

2375. laya.d3.math.Matrix4x4 [ 48%]

...0, m42:Number = 0, m43:Number = 0, m44:Number = 1, elements:Float32Array = null) 创建一个 Matrix4x4 实例。 Matrix4x4  billboard(objectPosition:Vector3, cameraPosition:Vector3, cameraRight:Vector3, cameraUp:Vector3, cameraForward:Vector3, mat:Matrix4x4):void[static] 计算BlillBoard矩阵 Ma...

来源: Laya2.0_api 发布时间: 20190513

2376. LayaAir IDE 语言包的使用? [ 48%]

...or = "#eeffcc"; Laya.loader.load("lang.lang",Handler.create(this,onLoaded),null,Loader.JSON); } private function onLoaded():void { var obj:Object=Laya.loader.getRes("lang.lang"); Text.langPacks=obj; var texts:Text=new Text(); texts.text="hello!welcom LayaBox"; Laya.stage.addChild(texts); } } }   20...

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

2377. Sprite-旋转缩放 [ 48%]

...Laya.timer.frameLoop(1, this, animate); } private function animate(e:Event=null):void { ape.rotation += 2; //心跳缩放 scaleDelta += 0.02; var scaleValue:Number = Math.sin(scaleDelta); ape.scale(scaleValue, scaleValue); } } }

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

2378. 缓动-缓动函数演示 [ 48%]

...nsList.array = data; } private function renderList(item:ListItemRender,e:*=null):void { item.setLabel(item.dataSource); } private function onEaseFunctionChange(list:List,e:*=null):void { character.pos(100, 50); tween && tween.clear(); tween = Tween.to(character, { x : 350, y:250 }, duration, Ease[li...

来源: Laya2.0_示例 发布时间: 20260303

2379. Uncaught TypeError: Cannot read property 'regClass' of undefined [ 47%]

...调用Java PlatformClass undefined Cannot read property 'displayObject' of null 浏览器运行提示TypeError: xxx is not a function Uncaught unknown animationClip version. Uncaught TypeError: Cannot read property 'props' of undefined 问题状态 最新活动: 2021-09-01 19:47 浏览: 2016 关注:...

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

2380. 计时器-延迟调用 [ 47%]

...a.timer.callLater(this, onCallLater); } } private function onCallLater(e:*=null):void { trace("onCallLater triggered"); var text:Text = new Text(); text.font = "SimHei"; text.fontSize = 30; text.color = "#FFFFFF"; text.text = "打开控制台可见该函数仅触发了一次"; text.size(Laya.stage.w...

来源: Laya2.0_示例 发布时间: 20260303