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

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

131. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 49%]

...行的时候 let html:HTMLDivElement = new HTMLDivElement(); 会报Illegal constructor daohu • 2017-05-05 20:34 @cuixueying @Laya_XS 设置字体类型怎么写,这个字体类型的名字是怎么来的,系统里的名字?我想使用嵌入 @font-face { font-family: word; src: url('media/fo...

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

132. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 49%]

...的约束组件 Hierarchy ConstraintComponent ConfigurableConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath CONFIG_MOTION_TYPE_FREE CONFIG_MOTION_TYPE_LIMITED CONFIG_MOTION_TYPE_LOCKED Accessors XMotion YMotion ZM...

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

133. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 48%]

...ic-001.png","output-06.png"]; private texture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; var camera...

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

134. laya.resource.RenderTexture2D_API3.0 [ 47%]

...。 Hierarchy BaseTexture RenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture destroyedImmediately lock name url uuid DEBUG _clearColor _clearLinearColor defuv flipyuv Accessors anisoLevel baseMipmapLevel compareMod...

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

135. laya.resource.NativeRenderTexture2D_API3.0 [ 47%]

...Hierarchy BaseTexture NativeRenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture destroyedImmediately lock name url uuid DEBUG defuv flipyuv Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture d...

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

136. laya.net.Loader_API3.0 [ 47%]

...ML、二进制、图像等资源。 Hierarchy EventDispatcher Loader Index Constructors constructor Properties maxLoader retryDelay retryNum ANIMATIONCLIP ATLAS BUFFER FONT HIERARCHY IMAGE JSON MATERIAL MESH SOUND SPINE TERRAINHEIGHTDATA TERRAINRES TEXT TEXTURE2D TEXTURECUBE TTF VIDEO XML downloader...

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

137. 引用3d物理引擎失败,有文件丢失 Laya3D._physics3D.btVector3 找不到 [ 46%]

...sics3D.btVector3 找不到 TypeError: Laya3D._physics3D.btVector3 is not a constructor preload.js:55 at new PhysicsSimulation (file:///E:/ycyheroH5/ycyZYWZW/Client/bin/js/bundle.js:12452:27) at new Scene3D (file:///E:/ycyheroH5/ycyZYWZW/Client/bin/js/bundle.js:69360:28) at BoBingPanelView.__proto.in...

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

138. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 46%]

...pFont 测试代码: let fontName = "diyFont";   class Text_BitmapFont { constructor() { const  Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat;   // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL);   Laya.stage.alignV = St...

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

139. (有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are [ 46%]

...s/atlas/images.atlas main.min.js:1 Uncaught TypeError: BackGround is not a constructor     at t.onLoaded (main.min.js:1)     at t.onLoaded2 (main.min.js:1)     at e.run (laya.core.min.js:1)     at e.i.event (laya.core.min.js:1)     at e.n._endLoad (laya.core.min.js:6)     at e (laya.core...

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

140. sound manager在MOUSE_OVER事件中无法播放 [ 46%]

...个信息文本         private txtInfo: Text;          constructor() {             // 不支持WebGL时自动切换至Canvas             Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL);              Laya.stage.alignV = Stage....

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