大约有 154 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0036 秒)
Laya_社区(56) Laya_示例(36) Laya2.0_示例(20) Laya3.0_api(13) Laya2.0_api(12) Laya3.0_文档(9) Laya2.0_文档(6) laya_api(2)
...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
...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
...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
...{ 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_示例 发布时间: 20241124
...{ 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_示例 发布时间: 20241124
... 报错信息: 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
...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
...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
...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
...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_示例 发布时间: 20241124