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

大约有 1,873 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0091 秒)

1571. 继承自Laya.BaseMaterial并且自定义Shader的的自定义材质如何设置透明渲染 [ 53%]

...rt default class CMat extends Laya.BaseMaterial { public static _mainTex : number; public static _mainCol : number; inited : boolean = false; constructor() { super(); if(!this.inited) { CMat._mainTex = Laya.Shader3D.propertyNameToID("u_MainTex"); CMat._mainCol = Laya.Shader3D.propertyNameToID("u_Mai...

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

1572. Failed to construct 'AudioContext' [ 53%]

...re.js:12479 Uncaught DOMException: Failed to construct 'AudioContext': The number of hardware contexts provided (6) is greater than or equal to the maximum bound (6)  将游戏嵌入超过六个ifarm就会报错,主要是低于谷歌70版本的浏览器 ,有没有人遇到过这种问题吗,...

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

1573. laya.d3.physicscannon.CannonContactPoint_API3.0 [ 53%]

...d3/physicsCannon/CannonContactPoint.ts:17 碰撞器B。 distance distance: number = 0 Defined in laya/d3/physicsCannon/CannonContactPoint.ts:19 距离。 normal normal: Vector3 = new Vector3() Defined in laya/d3/physicsCannon/CannonContactPoint.ts:21 法线。 positionOnA positionOnA: Vector3 = new ...

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

1574. laya.d3.physics.ContactPoint_API3.0 [ 53%]

...ned in laya/d3/physics/ContactPoint.ts:17 碰撞器B。 distance distance: number = 0 Defined in laya/d3/physics/ContactPoint.ts:19 距离。 normal normal: Vector3 = new Vector3() Defined in laya/d3/physics/ContactPoint.ts:21 法线。 positionOnA positionOnA: Vector3 = new Vector3() Defined in lay...

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

1575. 绘制平明问题 [ 53%]

...      Laya.stage.addChild(canvas);             var path: Array<number> = [];             path.push(0, -130);             path.push(33, -33);             path.push(137, -30);             path.push(55, 32);             path.push(85, 130);             ...

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

1576. 摄像机添加天空盒没有skyboxMaterial属性 [ 53%]

...20beta有bug,帧属性面板打不开 TextInput 的 type 属性设置为 number 的时候 maxChars 字数限制无效 问题状态 最新活动: 2019-03-01 21:01 浏览: 2536 关注: 2 人 yuqi • 2019-03-02 14:34 无效啊!!! yuqi • 2019-03-02 14:35 你们难道就没有测试吗?

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

1577. hBox使用问题 [ 53%]

...dth/4) //Tween.to(ape, { x : i*(stageWidth/4) },1500,Ease.sineOut); var bl:Number=texture.width/texture.height ape.graphics.drawTexture(texture,0,0,stageWidth/4,stageWidth/4/bl); apesCtn.addChild(ape); } } 这种方法HBox布局不管用,是不是不能用graphics.drawTexture方法,如果用addC...

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

1578. laya.components.Animation2DEvent_API3.0 [ 53%]

...in laya/components/Animation2DEvent.ts:10 事件触发参数。 time time: number Defined in laya/components/Animation2DEvent.ts:6 事件触发时间。 Globals "laya/components/Animation2DEvent" Animation2DEvent constructor eventName params time Legend Object literal Variable Function Type alias Cl...

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

1579. 请问LAYA的IOS内购判断支付成功和失败是在哪个函数内? [ 53%]

...(conchMarket.recharge(jsonParam,callBack);),有参数说明(code number 成功为0, 失败为-1) 2017-09-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gmajrtfp 相关问题 请问LayaAir中如何使图片以圆形的方式...

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

1580. 为什么打包成apk后的textinput没有了输入的光标 [ 53%]

...程中。边做监听。需要怎么做吗? 把textInput的type设置为number的时候无法设置最多能输入的字数 textinput移除后再添加会将之前的内容全部赋值给全部input TextInput在手机上文字输入位置不对 打包成手机app的详细教程 Input输入文本...

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