大约有 3,244 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)
Laya_社区(2446) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(77) Laya_示例(52) Laya2.0_示例(18)
...by ttf 字体加载进度:" + pro); }, null, false), Laya.Loader.TTF) })); let font2Req = new Promise((resolve => { Laya.loader.load("res/fonts/OPPOSANS-H.TTF", Laya.Handler.create(this, (success: bool...
来源: Laya_社区 发布时间: 20201104
...ited Public Properties PropertyDefined By collideConnected : Boolean = false[首次设置有效]两个刚体是否可以发生碰撞,默认为falsePulleyJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component id : i...
来源: Laya2.0_api 发布时间: 20190513
...lpha, and then divides back, ignoring UNPACK_PREMULTIPLY_ALPHA_WEBGL being false. Closer your alpha to 0, more precision loss occurs on IE. Try separating color and alpha to different textures. 2018-04-14 0 0 分享 微博 QZONE 微信 InJoins 赞同来自: 又一个GITHUB上的相关信息: Some ...
来源: Laya_社区 发布时间: 20180414
...ited Public Properties PropertyDefined By collideConnected : Boolean = false[首次设置有效]两个刚体是否可以发生碰撞,默认为falseDistanceJoint damping : Number刚体在回归到节点过程中受到的阻尼,建议取值0~1DistanceJoint destroyed : Boolean[read-only] ...
来源: Laya2.0_api 发布时间: 20190513
...e: number) { return this.split(this.padding(charCode.toString(16), 8, "0", false), 2).reverse().join(""); } range(...args: number[]) { const start: number = args.length === 1 ? 0 : args[0]; const end: number = args.length === 2 ? args[1] : args[0] - 1; return Array.from(Array(end - start + 1).keys()...
来源: Laya_社区 发布时间: 20190321
...) { this.roleAni.interval = 100; //循环播放动画 this.roleAni.play(0, false, "atk"); //this.roleAni.play(0,true,"fire"); //this.timeLine.addLabel("turnRight",0).to( this.roleAni.play(0, false, "atk")); } /** * 创建一组动画的url数组(美术资源地址数组) * aniName 动作的名...
来源: Laya_社区 发布时间: 20171228
... _children : Vector.<OctreeNode>OctreeNode debugMode : Boolean = false[static] 是否开启四/八叉树调试模式。 OctreeNode exactBox : BoundBoxOctreeNode relaxBox : BoundBoxOctreeNodePublic Methods MethodDefined By OctreeNode(scene:Scene, currentDepth:int)OctreeNode ad...
来源: laya_api 发布时间: 20170929
...3d; parent.addChild(box); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); box.transform.localPosition = new Laya.Vector3((i-5)*boxSize*1.1,0,j*boxSize*1.1-1); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); material.albedo...
来源: Laya_社区 发布时间: 20180117
....Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //加载纹理 Laya.Texture2D.load("res/threeDimen/pbr/jinshu.jpg", Laya.Handler.create(null, function(tex) { //实例PBR材质 var pbrMat = new Laya.PBRStandardMaterial(); //开启该材质的反射 pbrMa...
来源: Laya2.0_文档 发布时间: 20210715
...hics Defined in laya/ui/Button.ts:212 _ownGraphics _ownGraphics: boolean = false Implementation of ISelect._ownGraphics Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Implementation of ISelect._scene Inherited from Node._scene Defined in laya/display/Node....
来源: Laya3.0_api 发布时间: 20231115