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

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

661. module写法的模块无法使用,其他地方使用会报错 [ 61%]

...module  a.ts ------------------------------ module AM{ export class AC { public static myname:string = "I'm AC!"; } } export default AM; b.ts ---------------------------- module AM{ export class BC { public static myname:string = "I'm BC!"; } } export default AM; c.ts -------------------------- imp...

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

662. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 61%]

...r[]  = [];     private materials:Laya.Material[] = [];      public static instance: CommandBuffer_Outline ;      private isUseOuline: boolean = true; // 控制是否使用描边          public static GetInstance(): CommandBuffer_Outline{         if(t...

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

663. 仅在Android微信小游戏下图片错乱 [ 61%]

仅在Android微信小游戏下图片错乱 static preLoadPublicAssets(){ this.sAssetList = Loader.getRes("file_list.json") Laya.loader.load("res/ui/share@atlas0.png", Handler.create(this, this.onLoaded), null, Loader.IMAGE, 1, true, null, true) } static onLoaded(res){ console.log("public assets in...

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

664. LayaAir项目发布Flash版本 报错 [ 61%]

...ol\as\libs\src\laya\utils\Browser.as:224] _window = RunDriver.getWindow(); public static var getWindow:Function = function():* { return __JS__('window'); } package { /** * @private */ public function __JS__(value:*):* { return null; } }   这是不再支持转flash版本的意思吗   2017-04-07 ...

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

665. laya.device.media.HtmlVideo_API3.0 [ 61%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/media/HtmlVideo" HtmlVideo Class HtmlVideo html多媒体数据 Hierarchy Bitmap HtmlVideo Index Constructors constructor Properties desto...

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

666. laya.d3.resource.models.SkyBox_API3.0 [ 61%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/models/SkyBox" SkyBox Class SkyBox SkyBox 类用于创建天空盒。 Hierarchy GeometryElement SkyBox Index Constructors constructo...

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

667. laya.spine.SpineTemplet_API3.0 [ 61%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/spine/SpineTemplet" SpineTemplet Class SpineTemplet Spine动画模板基类 Hierarchy Resource SpineTemplet Index Constructors constructor Prope...

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

668. 2D物理-仿生机器人 [ 61%]

...dy; import laya.ui.Label; import laya.utils.Stat; import laya.webgl.WebGL; public class Physics_Physics_Strandbeests { private var scale = 2.5; private var pos: Array = [500, 400]; private var m_offset: Array = [0, -80 * this.scale]; private var pivot: Array = [0, 8 * this.scale]; private var wheel:...

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

669. laya.display.EffectAnimation [ 61%]

...ationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而...

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

670. AS 静态常量编译的BUG,不会更新目标文件 [ 60%]

....7.11beta 开发语言 AS 3   将所有静态常量设置到了Constant.aspublic static const DEFAULT_MASK:int = 0x1; public static const HERO_MASK:int = 0x2; 在目标文件里面Hero.as调用setMask(Constant.DEFAULT_MASK, Constant.HERO_MASK);  编译后JS代码会变成,这应该是编译优...

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