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

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

171. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 67%]

...BUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture depthStencilFormat depthStencilTexture destroyed dimension filterMode format gammaCorrection gammaSpace generateDepthTexture generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount multiSamp...

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

172. 使用 addChild 加载界面后,绑定事件报错 [ 67%]

...rt); 加载场景后报上面图片的错误 GameStart 类如下: export default class GameStart extends ui.GameStartUI {     constructor() {         super();          this.btnStart.on(Laya.Event.CLICK, this, this.startGame);     }      startGame(): void {      ...

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

173. 两个移动的简单物体 onTriggerEnter 无法触发 (有悬赏) [ 67%]

...个物体移动时候重合但是无法触发onTriggerEnter,   export default class BulletControlTrigger extends Laya.Script3D { constructor(){ super(); }  /** * 开始触发时执行 * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerEnter(other){ console.log("onTriggerEnter"); }...

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

174. laya.gltf.glTFUtils_API3.0 [ 67%]

...prite3D _createSceneNode _createSkinnedMeshSprite3D _createSprite3D _createdefaultMaterial applyPBRMetallicRoughness applyTransform calSkinnedSpriteLocalBounds getAccessorComponentsNum getAnimationRoot getAttributeNum getBufferwithAccessorIndex getTextureConstructParams getTextureFilterMode getTextu...

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

175. [LayaAir3]插件开发中,我需要选择文件夹,如何可视化选择文件夹 [ 67%]

... } protected onShown() { (this.contentPane as IEditor.InspectorPanel).resetDefault(); this.title = "SplitAtlas"; this.setSize(450, 180); } } class SplitAtlasSetting { @IEditor.onLoad static start() { Editor.typeRegistry.addTypes([ { name: "SplitAtlasSetting", catalogBarStyle: "hidden", properties: [...

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

176. 播放视频只有声音没有图像 [ 67%]

...又看见video这个元素有 let SoundManager = Laya.SoundManager; export default class LoginGame extends Laya.Scene { constructor() { super(); LoginGame.instance = this; Laya.MouseManager.multiTouchEnabled = false; this.loadScene("LoginGame.scene"); } onEnable() { SoundManager.playMusic("audio/梅...

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

177. laya.d3.core.Avatar_API3.0 [ 67%]

...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:220 Returns void _cloneDatasToAnimator _cloneDatasToAnimator(de...

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

178. drawToCanvas转出图片与游戏内显示颜色差距过大 [ 67%]

...Canvas转出图片与游戏内显示颜色差距过大 测试代码 export default class TestView {     constructor() {         this.init();     }     init() {         Laya.stage.bgColor='#ffffff';         Laya.stage.addChild(new Laya.Image('comp/img/img1.png'));         Laya.t...

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

179. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...包含脚本的文本具有相同的主机名和端口。 * @param data (default = null)发送的数据。 * @param method (default = "get")用于请求的 HTTP 方法。值包括 "get"、"post"、"head"。 * @param responseType (default = "text")Web 服务器的响应类型,可设置为 "text"、...

来源: Laya3.0_文档 发布时间: 20251010

180. Handler.create的回收问题 [ 66%]

...问题 Handler.create的最后一个参数,官方解释是 once:Boolean (default = true) — 是否只执行一次,如果为true,回调后执行recover()进行回收,默认为true。可下面代码为什么结果是false? module laya { import Stage = Laya.Stage; import Text = Laya.Text; impo...

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