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

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

351. 限制区域拖动效果,为什么会无法限制呢? [ 49%]

...ll";  // DebugTool.init() //激活资源版本控制 Laya.ResourceVersion.enable("version.json", Handler.create(null, beginLoad), Laya.ResourceVersion.FILENAME_VERSION);  function beginLoad() { Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); }  function onLoaded() { Laya...

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

352. Spine 间隔一段时间卡顿5000毫秒左右,期间GPU占用极高, Demo已上传 [ 49%]

...t; import Skeleton = Laya.Skeleton;  class Main {  constructor() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Stat.show();  //棋子动画 this.genSpine("res/spine/ludo_qizidongzuo.skel", Laya.Handler.create(this, (templet: Laya.SpineTemplet) => {  //模版复用 let y = 400; l...

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

353. laya.d3.core.MeshRenderer [ 49%]

... BaseRender castShadow : Boolean 获取是否产生阴影。 BaseRender enable : Boolean 获取是否可用。 BaseRender id : int[read-only] 获取唯一标识ID,通常用于识别。 BaseRender isPartOfStaticBatch : Boolean[read-only] 是否是静态的一部分。 BaseRender lightmapIndex : ...

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

354. laya.physics.PhysicsDebugDraw [ 49%]

...prite Node EventDispatcher Object 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Bool...

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

355. 如何自定义Shader(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 49%]

...源版本控制,版本文件由发布功能生成 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); ....... ``` 在GameUI中使用我们的自定义材质。 ```typescript //添加自定义模型 var box = scene.add...

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

356. 救命啊,遇到苹果爸爸 Guideline 2.5.2 [ 49%]

...tly, it has the potential to load private frameworks, private methods, and enable future feature changes. This includes any code which passes arbitrary parameters to dynamic methods such as dlopen(), dlsym(), respondsToSelector:, performSelector:, method_exchangeImplementations(), and running remote...

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

357. laya.physics.joint.PrismaticJoint [ 49%]

...nt destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component  enableLimit : Boolean是否对刚体的移动范围加以约束PrismaticJoint  enableMotor : Boolean是否开启马达,开启马达可使目标刚体运动Prismat...

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

358. 2.2.0 bata3 开放域透传功能报错 [ 48%]

...码load么? 陆仁毅 • 2019-08-15 10:24 需要调用ResourceVersion.enable StevenMiao • 2019-08-15 11:30 @陆仁毅:把你发的库文件直接放进我的demo里面,改了一些代码,加载图集完成的handler一直没有执行,也没报错。 StevenMiao • 2019-08-15 11:32 @陆仁...

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

359. 如何自定义Shader(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 48%]

...源版本控制,版本文件由发布功能生成 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); ....... ``` 在GameUI中使用我们的自定义材质。 ```typescript //添加自定义模型 var box = scene.add...

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

360. 分享:销毁龙骨动画! [ 48%]

...:int = 0; private var mArmature:Skeleton; public function ASDemo() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); var DesBtn:Sprite = createButton("销毁动画"); DesBtn.x = 50; DesBtn.y = 50; Laya.stage.addChild(DesBtn); //创建一个Sprit...

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