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

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

331. 2.13版本 2D物理碰撞OnTriggerEnter 第三个参数 contact.getHitInfo() 报错 [ 59%]

...于2d碰撞检测 laya2.2 导出场景物理碰撞问题 2.0 drawTexture color参数无效 本地调试加载本地图片都报错 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 问题状态 最新活动: 2022-08-19 15:50 浏览: 4984 关注: 2 人

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

332. 超出文本区域的处理&滚动文本(JavaScript-LayaAir基础篇(JS)-文本) [ 59%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createTexts(); })(); function createTexts() { var t1 = createText(); t1.overflow = Text.VISIBLE; t1.pos(10, 10); var t2 = createText(); t2.overflow = Text.SCROLL; t2.pos(10, 110); var t3 = createText(); t3....

来源: Laya2.0_文档 发布时间: 20210714

333. 播放一首歌曲指定从一个时间点开始播放 无效。 [ 59%]

...播放mp3出现The AudioContext was not allowed to start. 2.0 drawTexture color参数无效 播放声音出错,求指教 请教一个关于laya2.5d项目美术规范的问题哈 H5动画和节奏的一个加速! 关于同为object层,层级设置无效的问题 laya3D动画无法播放 关于...

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

334. 超出文本区域的处理&滚动文本(ActionScript-LayaAir基础篇(AS3)-文本) [ 59%]

...商,面向AS/JS/TS开发者提供HTML5开发技术方案!"; txt.borderColor = "#FFFF00"; //设置宽高以后自动裁剪会按照这个区域裁剪 txt.size(300, 50); txt.fontSize = 20; txt.color = "#ffffff"; Laya.stage.addChild(txt); return txt; } } } ``` ![2](img/2.png) 可以看到3种方法...

来源: Laya2.0_文档 发布时间: 20210715

335. FlashBuilder中第一个程序“Hello Layabox”(ActionScript-LayaAir基础篇(AS3)-快速上手) [ 59%]

..."Hello Layabox"; //设置文本颜色为白色,默认颜色为黑色 txt.color = '#ffffff'; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } } ``` **步骤五**: 完成代码编写后,使用之前文章里配置的编译器,点击按钮开始编译,编译完成后会自动启...

来源: Laya2.0_文档 发布时间: 20210715

336. laya.d3.core.material.EffectMaterial_API3.0 [ 59%]

...ion blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB color cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount renderMode shaderData stencilOp stencilRef stencilTest stencilWrite texture tilingOffset cpuMemory gpuMemory Methods ...

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

337. laya.resource.NativeContext_API3.0 [ 59%]

...gnLength popRT pushRT restore restoreTransform save saveTransform scale setColorFilter size strokeWord transform transformByMatrix translate useRT wab __init__ set2DRenderConfig Constructors constructor new NativeContext(): NativeContext Defined in laya/resource/NativeContext.ts:89 Returns NativeCon...

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

338. laya.d3.core.trail.TrailMaterial_API3.0 [ 59%]

...ion blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB color cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount renderMode shaderData stencilOp stencilRef stencilTest stencilWrite texture tilingOffset cpuMemory gpuMemory Methods ...

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

339. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 59%]

...faultMaterial Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoIntensity albedoTexture alphaTest alphaTestValue backDiffuse backScale blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cull d...

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

340. 自定义shader-边缘光照shader [ 59%]

...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.direction = new Laya.Vector3(1, -1, 0); var dude = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/dude/dude.lh")); dude.once(Laya.Event.HIERARCHY_LOADED, th...

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