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

大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0078 秒)

1141. 天空-天空盒 [ 67%]

...= Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox1/skyCube.ltc");class SkyBoxSample { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(new Lay...

来源: Laya_示例 发布时间: 20241002

1142. laya1.0升级到2.0后这些报错还是存在 随人不影响APP运行 但是怎么能去掉啊 [ 67%]

...945-27945/com.twand.kozhanji I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$6>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/RenderProcessGoneDetail; 06-27 18:03:47.977 27945-27945/com.twand...

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

1143. TypeError: Cannot read property '_byteLength' of null [ 67%]

...r.window.conch.setFontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprit...

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

1144. Sprite-根据数据绘制路径 [ 67%]

...ya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_DrawPath { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; La...

来源: Laya_示例 发布时间: 20241002

1145. as3分包,如果在ui编辑器IDE里导入了类,在分包里就会报错。这个怎么处理。 [ 67%]

... 已邀请: 与内容相关的链接 提交 4 个回复 qian 赞同来自: class是关键字 不要以class命名你的Cell类建的时候是大写 项目里变成了小写 把这里也统一下 2018-03-07 0 0 分享 微博 QZONE 微信 bluesea 赞同来自: 没有人回答。 2018-01-19 0 0 分享 ...

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

1146. laya.d3.renderobjs.nativeobj.NativeInstanceRenderElementOBJ_API3.0 [ 67%]

...s/NativeOBJ/NativeInstanceRenderElementOBJ" NativeInstanceRenderElementOBJ Class NativeInstanceRenderElementOBJ Hierarchy NativeRenderElementOBJ NativeInstanceRenderElementOBJ Implements IRenderElement Index Constructors constructor Properties _nativeObj _owner _shaderInstances Accessors _geometry _...

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

1147. laya.d3.core.MeshFilter [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MeshFilterProperties | Methods | Events Packagelaya.d3.coreClasspublic class MeshFilterInheritanceMeshFilter GeometryFilter EventDispatcher Object MeshFilter 类用于创建网格过滤器。 Public Properties Hide Inhe...

来源: laya_api 发布时间: 20170929

1148. laya.d3.component.animation.RigidAnimations [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RigidAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class RigidAnimationsInheritanceRigidAnimations KeyframeAnimations Component3D EventDispatcher Object RigidAnimations 类用于...

来源: laya_api 发布时间: 20170929

1149. laya.d3.component.physics.MeshCollider [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MeshColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class MeshColliderInheritanceMeshCollider Collider Component3D EventDispatcher Object MeshCollider 类用于创建网格碰撞器。 ...

来源: laya_api 发布时间: 20170929

1150. 正常运行的2.1升级到2.2.0出现循环依赖的错误,这是咋回事丫 ? [ 67%]

...成的js也有这种情况才构成循环。 例如 A.ts import B from 'B' class A{    b:B; } 这种的,在生成js以后由于B只是表示类型,js是不需要的,所以上面的import就没了。  无法去掉的import主要是类似 new B, extends B, instanceof B, 以及静态成员...

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