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

大约有 154 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0035 秒)

41. laya.maths.Matrix4x4_API3.0 [ 75%]

...r = 0 Default value m44: number = 1 Default value elements: Float32Array = null Returns Matrix4x4 Properties elements elements: Float32Array Defined in laya/maths/Matrix4x4.ts:402 矩阵元素数组 Static Readonly DEFAULT DEFAULT: Readonly<Matrix4x4> = new Matrix4x4() Defined in laya/maths/Ma...

来源: Laya3.0_api 发布时间: 20231115

42. laya.d3.core.BaseCamera [ 74%]

...ayer值为0到31层。 BaseCamera callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node...

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

43. laya.d3.math.Matrix4x4_API3.0 [ 74%]

...r = 0 Default value m44: number = 1 Default value elements: Float32Array = null Returns Matrix4x4 Properties elements elements: Float32Array Defined in laya/d3/math/Matrix4x4.ts:436 矩阵元素数组 Static Readonly DEFAULT DEFAULT: Readonly<Matrix4x4> = new Matrix4x4() Defined in laya/d3/mat...

来源: Laya3.0_api 发布时间: 20231102

44. 混合模式-Lighter [ 74%]

...{ r: channels[0], g: channels[1], b: channels[2] }, this.gradientInterval, null, Handler.create(this, this.onTweenComplete)); } private getColorChannals(color: number): Array { var result: Array = []; result.push(color >> 16); result.push(color >> 8 & 0xFF); result.push(color & 0xFF); return result;...

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

45. 混合模式-Lighter [ 74%]

...{ r: channels[0], g: channels[1], b: channels[2] }, this.gradientInterval, null, Handler.create(this, this.onTweenComplete)); } private getColorChannals(color: number): Array { var result: Array = []; result.push(color >> 16); result.push(color >> 8 & 0xFF); result.push(color & 0xFF); return result;...

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

46. 给模型动态添加脚本报错 [ 73%]

...     报错信息: Uncaught TypeError: Cannot read property 'scene' of null     at goldItemNode._onAdded (libs/laya.core.js:13226)     at goldItemNode._onAdded (libs/laya.d3.js:10592)     at Sprite3D._addComponentInstance (libs/laya.core.js:13244)     at Sprite3D.addComponent (libs/laya....

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

47. laya.d3.math.Vector3 [ 73%]

...r3(x:Number = 0, y:Number = 0, z:Number = 0, nativeElements:Float32Array = null) 创建一个 Vector3 实例。 Vector3  add(a:Vector3, b:Vector3, out:Vector3):void[static] 求两个三维向量的和。 Vector3  Clamp(value:Vector3, min:Vector3, max:Vector3, out:Vector3):void[static] 求一个...

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

48. 路径显示会添加DrawCall,每增加一条路径都会添加,有什么办法降DrawCall [ 72%]

...rivate function OnShow():void { // TODO Auto Generated method stub if(pop==null){ pop = new TestDialogUI(); pop.btn_close.clickHandler = new Handler(this,function(){pop.parent.removeChild(pop);}); } this.addChild(pop); } private function StartMove(len:int):void { trace("[TestView.StartMove]") // TOD...

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

49. 3D网格添加刚体后设置欧拉角出现位置错误 [ 71%]

...aya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(null, function (tex) {             planeMat.albedoTexture = tex;         }));         //拉伸UV         planeMat.tilingOffset = new Laya.Vector4(10, 10, 0, 0);         //板的画面的渲染材质   ...

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

50. Sprite3D-Sprite3D克隆 [ 71%]

...r layaMonkey_clone2 = scene.addChild(Laya.Sprite3D.instantiate(layaMonkey, null, false, new Laya.Vector3(-0.6, 0, 0))); }class Sprite3DClone { private scene: Laya.Scene; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_N...

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