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

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

191. laya.d3.math.Native.ConchVector4 [ 48%]

...z:Number = 0, w:Number = 0) 创建一个 Vector4 实例。 ConchVector4  add(a:ConchVector4, b:ConchVector4, out:ConchVector4):void[static] 求两个四维向量的和。 ConchVector4  Clamp(value:ConchVector4, min:ConchVector4, max:ConchVector4, out:ConchVector4):void[static] 求一个指定范...

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

192. as编译器1.7.5beta的问题 [ 48%]

...,报空的方法是formatString,贴出了formatstring的完整代码,addAssets方法是另一个类的代码片段,感觉是编译器的问题。。麻烦解答一下 public function addAssets(assets:Array,loadedFun:Function = null):void { var path = formatString("assets/otherAssets/" + file...

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

193. laya.d3.math.Vector4 [ 48%]

...= 0, z:Number = 0, w:Number = 0) 创建一个 Vector4 实例。 Vector4  add(a:Vector4, b:Vector4, out:Vector4):void[static] 求两个四维向量的和。 Vector4  Clamp(value:Vector4, min:Vector4, max:Vector4, out:Vector4):void[static] 求一个指定范围的四维向量 Vector4  clone():* ...

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

194. ShaderPass介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 48%]

...D_MATERIAL }; //注册多Pass描边Shader var customShader = Laya.Shader3D.add("MultiplePassOutlineShader"); //创建一个subShader var subShader = new Laya.SubShader(attributeMap, uniformMap); customShader.addSubShader(subShader); //添加一个Pass var pass1 = subShader.addShaderPass(OutlineVS, O...

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

195. laya.d3.math.Quaternion [ 48%]

...ments:Float32Array = null) 创建一个 Quaternion 实例。 Quaternion  add(left:Quaternion, right:Quaternion, out:Quaternion):void[static] 计算两个四元数的和 Quaternion  clone():* 克隆。 Quaternion  cloneTo(destObject:*):void 克隆。 Quaternion  createFromAxisAngle(axis:Vecto...

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

196. 多场景跳转遇到当前场景不能remove的问题 [ 48%]

...ame = new StartgameUI(); window.sceneStartgame= sceneStartgame; Laya.stage.addChild(sceneStartgame); 5个场景,4个跳转,前2个正常,后2个不正常,一样的代码。 因为remove跟add不在同一个js,所以remove时用的全局变量。 问题:通常是这样实现的吗?我...

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

197. 苹果iOS审核被拒Guideline 4.3 - Design [ 48%]

...web app, which looks and behaves similar to a native app when the customer adds it to their Home screen. Refer to the Configuring Web Applications section of the Safari Web Content Guide for more information. Submitting apps designed to mislead or harm customers or evade the review process may resul...

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

198. 自定义shader-地形shader [ 48%]

....screenMode = Laya.Stage.SCREEN_NONE; initShader(); var scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/terrain/terrain.ls")); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-38, 180, 0), false, false); camera.transform.tr...

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

199. image在相应loaded的时候,无法正确获取高度 [ 48%]

...angle(this.x, this.y, this.width, this.height, createOption); Matter.World.add(GameMain.instance.engine.world, this.matterBody); this.matterBody.layaSprite = this; Matter.Events.on(GameMain.instance.engine, 'beforeUpdate', (()=> { console.log("update", this.x, this.y, this.width, this.height) })....

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

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

...D_MATERIAL }; //注册多Pass描边Shader var customShader = Laya.Shader3D.add("MultiplePassOutlineShader"); //创建一个subShader var subShader = new Laya.SubShader(attributeMap, uniformMap); customShader.addSubShader(subShader); //添加一个Pass var pass1 = subShader.addShaderPass(OutlineVS, O...

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