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

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

851. Laya2.6.0 升级至Laya2.8.0 Native环境 加载ttf 字体不生效 [ 67%]

...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

852. laya.physics.joint.PulleyJoint [ 67%]

...ited Public Properties PropertyDefined By  collideConnected : Boolean = false[首次设置有效]两个刚体是否可以发生碰撞,默认为falsePulleyJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component id : i...

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

853. LAYA3D,如何关闭ALPHA预乘 premultiply alpha [ 67%]

...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

854. laya.physics.joint.DistanceJoint [ 67%]

...ited Public Properties PropertyDefined By  collideConnected : Boolean = false[首次设置有效]两个刚体是否可以发生碰撞,默认为falseDistanceJoint  damping : Number刚体在回归到节点过程中受到的阻尼,建议取值0~1DistanceJoint destroyed : Boolean[read-only] ...

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

855. ts加密md5码封装 [ 67%]

...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

856. animate 动画播放 怎么把攻击 开火 合起来播放 [ 66%]

...) { 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

857. laya.d3.core.scene.OctreeNode [ 66%]

... _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

858. 3d下阴影渲染问题求解 [ 66%]

...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

859. 场景环境反射(TypeScript-3D基础(TS)-LayaAir3D之场景渲染配置) [ 66%]

....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

860. laya.ui.Radio_API3.0 [ 66%]

...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