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

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

811. 报错!怎么解决An AudioContext in a cross origin iframe报错 [ 67%]

...。 */ /** * 失去焦点后是否自动停止背景音乐。 * @param v Boolean 失去焦点后是否自动停止背景音乐。 * */ static autoStopMusic: boolean;   在SoundManager中,设置这个值为false试试 2018-09-04 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 社区有置...

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

812. iPhone6 ios 8.3系统 最新的QQ 锁屏再解锁 游戏闪退 [ 67%]

...his.event(Event.VISIBILITY_CHANGE); });     public static var isStopLoop:Boolean = false; /**@private */ public function _loop():Boolean { if(!isStopLoop) { render(Render.context, 0, 0); } return true; }   2017-10-11 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...

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

813. 请问粒子,shader,动画缓存的优化应该如何选择 [ 67%]

...是否开启调试模式。 */         public static var debugMode:Boolean = false; 设置为true,           /**          * 通过宏定义预编译shader。          * @param   spriteIntToNameDic 精灵宏定义数组。          * @param   publicDef...

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

814. laya.d3.core.particleshuriken.module.shape.SphereShape_API3.0 [ 67%]

...hape 实例。 Returns SphereShape Properties emitFromShell emitFromShell: boolean Defined in laya/d3/core/particleShuriKen/module/shape/SphereShape.ts:14 从外壳发射。 enable enable: boolean = true Inherited from BaseShape.enable Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape....

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

815. laya.d3.core.particleshuriken.module.shape.HemisphereShape_API3.0 [ 67%]

... 实例。 Returns HemisphereShape Properties emitFromShell emitFromShell: boolean Defined in laya/d3/core/particleShuriKen/module/shape/HemisphereShape.ts:15 从外壳发射。 enable enable: boolean = true Inherited from BaseShape.enable Defined in laya/d3/core/particleShuriKen/module/shape/BaseSh...

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

816. 输入设备-指南针 [ 67%]

...ate degreesText:Text; private directionIndicator:Sprite; private firstTime:Boolean = true; constructor() { Laya.init(700, 1024, WebGL); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.loader.load(this.compassImgPath, Ha...

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

817. laya.display.Graphics [ 67%]

...ha(alpha:Number):AlphaCmd 设置透明度。 Graphics  clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void 销毁此对...

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

818. laya.d3.core.particleshuriken.module.TextureSheetAnimation_API3.0 [ 67%]

...ShuriKen/module/TextureSheetAnimation.ts:24 循环次数。 enable enable: boolean = false Defined in laya/d3/core/particleShuriKen/module/TextureSheetAnimation.ts:28 是否启用 enableUVChannels enableUVChannels: number = 0 Defined in laya/d3/core/particleShuriKen/module/TextureSheetAnimation.ts:2...

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

819. laya.display.BitmapFont [ 67%]

...c/?nav=ch-js-1-2-5Public Properties PropertyDefined By  autoScaleSize : Boolean = false表示是否根据实际使用的字体大小缩放位图字体大小。BitmapFont  fontSize : Number = 12当前位图字体字号,使用时,如果字号和设置不同,并且autoScaleSize=true,则按...

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

820. PBRStandardMaterial材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 67%]

...射颜色。 `emissionTexture:BaseTexture` 放射贴图。 `enableEmission:Boolean` 是否激活放射属性。 `enableReflection:Boolean` 是否开启反射。 `metallic:Number` 金属度。 `metallicGlossTexture:BaseTexture` 金属光滑度贴图。 `normalTexture:BaseTexture` 法线贴图。 `nor...

来源: Laya2.0_文档 发布时间: 20210715