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

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

971. 高级应用-渲染纹理 [ 67%]

....stage.height - 100 * Laya.Browser.pixelRatio); changeActionButton.on(Laya.Event.CLICK, this, function () { layaPlane.getChildAt(0).meshRender.material.diffuseTexture = renderTargetCamera.renderTarget; }); })); } function setMaterials(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var mesh...

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

972. 代码创建精灵监听不到事件? [ 67%]

...e); var arr = {data: StorageRoom.map_storageData[0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]);   var _proto = StorageUILayer.prototype;   _proto.onclick = function(params){ console.log("--------------------------------hhhhhhhhhhh- "); }   -------------------------------------...

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

973. laya.device.motion.Gyroscope [ 67%]

... Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):voi...

来源: laya_api 发布时间: 20170929

974. LayaNative中偶尔会出现所有HTTP POST方式交互均无回应的问题 [ 67%]

...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 S_eVent 相关问题 laya针对页游耗用内存大的问题是如何解决的? unity导出粒子文件问题 请问LayaAir中如何使图片以圆形的方式显示? LayaAir3D UnityPlugin 使用须知-版本更新-问题...

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

975. laya.d3.core.material.SkyProceduralMaterial_API3.0 [ 67%]

...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...

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

976. laya.core.js报错:value._addReference is not a function [ 67%]

...js:15911)     at Texture.__proto._onLoaded (laya.core.js:15752)     at EventHandler.__proto.runWith (laya.core.js:1410)     at ResInfo.__proto.event (laya.core.js:1166)     at LoaderManager.__proto._endLoad (laya.core.js:14880)     at Loader.onLoaded (laya.core.js:14850)     at EventHand...

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

977. laya.spine.js问题以及spine.core.js问题 [ 67%]

... this.parseSpineAni(); return; } if (this.assetManager.hasErrors()) { this.event(Event.ERROR, "load failed:" + this.assetManager.getErrors()); return; } Laya.timer.frameOnce(1, this, this.loop); }         ==========================================================================           ...

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

978. Clip组件Bug:Play方法无法结束循环 [ 67%]

...法结束循环 问题原因: 在源码中,play方法中添加了Laya.Event.DISPLAY监听函数:_onDisplay 而_onDisplay函数中,又调用了play()方法,而且是没带参数!!!   这样导致在play方法中,传入的to参数无效!!!   另外分享下自己的修改方...

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

979. laya.d3.core.MeshSprite3D [ 67%]

...lasses | Index | Frames No Frames MeshSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class MeshSprite3DInheritanceMeshSprite3D RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses MeshTerrainSprite3D, WaterSprite MeshSprite3D 类...

来源: laya_api 发布时间: 20170929

980. laya.d3.core.material.UnlitMaterial_API3.0 [ 67%]

...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...

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