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

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

491. Shader预编译解决方案 [ 64%]

...ing;     //将defineDatas抓换成宏定义数组     Shader3D._getNamesByDefineData(compileDefine, deugDefines);     if (!Config3D._config._multiLighting) {         var index = deugDefines.indexOf("LEGACYSINGLELIGHTING");         (index !== -1) && (deug...

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

492. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 64%]

...KenParticle3D Index Constructors constructor Properties _extra _scene _url name tag LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE_HDR_PARAMS REFLECTIONCUBE_PROBEBOXMAX REFLECTIONCUBE_PROBEBOXMIN REFLECTIONCUBE_PROBEPOSITION REFLECTIONTEXTURE SAHDERDEFINE_LIGHTMAP SHADERDEF...

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

493. laya.resource.VideoTexture_API3.0 [ 64%]

...exture Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG _videoTexturePool Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipmap mipmap...

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

494. 发布项目“是否压缩混淆js(耗时)”的bug [ 64%]

...S Fail: E:/new_work/client_deploy/bin/code.js {"message":"Unexpected token name «of», expected punc «;»","filename":"0","line":107395,"col":26,"pos":3691880} 2018-04-13 0 0 分享 微博 QZONE 微信 131*****785 赞同来自: 我直接用uglifyjs 压缩是报这样的错误: E:\new_work\uglify...

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

495. 使用webgl之后toDataUrl返回黑色的图像 [ 64%]

...= "#ffcccc"; Laya.stage.on(Event.CLICK,this,onClick); sp= new Sprite(); sp.name='base'; sp.loadImage("logo.png"); Laya.stage.addChild(sp); } private function onClick():void { var htmlsss:String=(Laya.stage.getChildAt(0) as Sprite).drawToCanvas(100,100,0,0).getCanvas().toDataURL(); var sp2:Sprite = n...

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

496. laya.d3.component.Animator_API3.0 [ 64%]

...value layerIndex: number = 0 层索引。 Returns void crossFade crossFade(name: string, transitionDuration: number, layerIndex?: number, normalizedTime?: number): void Defined in laya/d3/component/Animator.ts:1182 在当前动画状态和目标动画状态之间进行融合过渡播放。 Parameter...

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

497. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 64%]

...nt:75a15c8ae08fcf4a65640c78c2578b4181749a28fb6e405f2c308bac5f091db1 Module name:com.layabox.game Version:1.0 VersionCode:1 PreInstalled:No Foreground:No Pid:19883 Uid:20010080 Reason:TypeError Error name:TypeError Error message:Cannot read property getContext of undefined Stacktrace: Cannot get Sour...

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

498. 求指点3d射线碰撞和UI点击穿透的问题 [ 64%]

...1 给stage添加一个监听事件 给ui命一个名字 监听event.target.name 2018-01-20 2 2 分享 微博 QZONE 微信 suteam 赞同来自: fevilbo 已解决,先监听舞台的MOUSE_DOWN事件,然后对其回调的evt.target进行检测即可知道是UI还是3d模型 2018-01-30 1 1 分享 微...

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

499. laya.resource.Texture_API3.0 [ 64%]

...s constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourceWidth url uuid DEBUG Accessors bitmap cpuMemory destroyed gpuMemory height id obsolute referenceCount uv valid width cpuMemory gpuMemory Methods _addReference _clearReference _removeRef...

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

500. 地形shader示例渲染失败【在线等】 [ 64%]

...: https://layaair.ldc.layabox.com/demo/?category=3d&group=shader&name=Shader_Terrain   我的步骤如下: 1)新建一个项目 2)从github上下载layaair的源代码, 然后将源代码中的samples/res资源复制到本地项目的bin目录下。 3)将samples中的CameraMoveS...

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