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

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

681. laya.d3.core.render.ScreenTriangle_API3.0 [ 51%]

... exported Menu Globals "laya/d3/core/render/ScreenTriangle" ScreenTriangle Class ScreenTriangle ScreenTriangle 类用于创建全屏三角形。 Hierarchy Resource ScreenTriangle Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpu...

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

682. 使用以下代码打开超大分辨率图片 WebGL 模式无法正常显示 [ 50%]

...打开超大分辨率图片 WebGL 模式无法正常显示 // 程序入口 class GameMain{ constructor() { Laya.init(900,1440,Laya.WebGL); //WebGL Laya.Stat.show(0,0); let sp:Laya.Sprite = new Laya.Sprite; //sp.loadImage("comp/big.png"); //读取分辨率小的图片 正常 sp.loadImage("comp/hug.pn...

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

683. laya.physics.CircleCollider_API3.0 [ 50%]

...ls Only exported Menu Globals "laya/physics/CircleCollider" CircleCollider Class CircleCollider 2D圆形碰撞体 Hierarchy ColliderBase CircleCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed ...

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

684. TS版本的官方示例,导出到玩一玩,在读写文件时能存不能读,读不出来,甚至直接读取会显示字符串里边有乱码。。。。 [ 50%]

...er.js的 var LocalStorageAdpt=(function(){ function LocalStorageAdpt(){} __class(LocalStorageAdpt,'BKLaya.adptcodes.LocalStorageAdpt'); LocalStorageAdpt._readData=function(){ if (!BK.FileUtil.isFileExist(LocalStorageAdpt.dataPath)){ return null; } try{ var dataO=BK.FileUtil.readFile(LocalStorageAdpt...

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

685. laya.particle.ParticleSetting_API3.0 [ 50%]

...Only exported Menu Globals "laya/particle/ParticleSetting" ParticleSetting Class ParticleSetting ParticleSettings 类是粒子配置数据类 Hierarchy ParticleSetting Index Properties ageAddScale blendState boxEmitterCenterPosition boxEmitterSize boxEmitterVelocity boxEmitterVelocityAddVariance col...

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

686. 使用layaide进行打包,提示如下错误。 [ 50%]

...,提示如下错误。 Block-scoped declarations (let, const, function, class) not yet supported outside strict mode   网上搜索答案,有的说是因为在tsconfig中,将target调整成了es6就不可以运行了,但是我的代码使用了一些es6的特性,请问应该如何解决...

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

687. as中BoxCollider引入了,但是运行的时候还是提示null [ 50%]

...提示:错误,图片是IDE自带的,也不显示 Laya 2.7.1 PlatformClass 在哪里?这个类怎么没了?我需要引入什么类库么? 根据官方教程:FlashBuilder-LayaCompiler-运行提示"must set Document Class!" 问题状态 最新活动: 2017-12-20 12:15 浏览: 1241 关注:...

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

688. laya.ani.AnimationPlayer_API3.0 [ 50%]

...nals Only exported Menu Globals "laya/ani/AnimationPlayer" AnimationPlayer Class AnimationPlayer AnimationPlayer 类用于动画播放器。 Hierarchy EventDispatcher AnimationPlayer Index Constructors constructor Properties isCache playbackRate returnToZeroStopped Accessors cacheFrameRate cacheFram...

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

689. laya.physics.EdgeCollider_API3.0 [ 50%]

...ernals Only exported Menu Globals "laya/physics/EdgeCollider" EdgeCollider Class EdgeCollider 2D边框碰撞体 Hierarchy ColliderBase EdgeCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enab...

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

690. laya.resource.TextResource_API3.0 [ 50%]

...rnals Only exported Menu Globals "laya/resource/TextResource" TextResource Class TextResource 文字资源 Hierarchy Resource TextResource Index Constructors constructor Properties _id data destroyedImmediately format lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute refer...

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