大约有 280 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
Laya_社区(172) Laya3.0_api(32) Laya2.0_文档(31) laya_api(16) Laya2.0_api(14) Laya_示例(8) Laya3.0_文档(7)
...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
...,报空的方法是formatString,贴出了formatstring的完整代码,addAssets方法是另一个类的代码片段,感觉是编译器的问题。。麻烦解答一下 public function addAssets(assets:Array,loadedFun:Function = null):void { var path = formatString("assets/otherAssets/" + file...
来源: Laya_社区 发布时间: 20170525
...= 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
...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
...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
...ame = new StartgameUI(); window.sceneStartgame= sceneStartgame; Laya.stage.addChild(sceneStartgame); 5个场景,4个跳转,前2个正常,后2个不正常,一样的代码。 因为remove跟add不在同一个js,所以remove时用的全局变量。 问题:通常是这样实现的吗?我...
来源: Laya_社区 发布时间: 20180815
...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
....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
...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
...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