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

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

281. 超出文本区域的处理&滚动文本(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

282. 超出文本区域的处理&滚动文本(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

283. 自定义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

284. 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

285. 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

286. 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

287. image.skin = base64 无效 [ 59%]

...无效 关于同为object层,层级设置无效的问题 2.0 drawTexture color参数无效 (此问题已经无效) LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 lh文件内meshSprite添加阴影属性无效 TextInput 的 type 属性设置为 number 的时候 maxChars 字数限制无效 ...

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

288. 3D项目Label组件增加最少15M内存 [ 59%]

...o Layabox"; //设置文本颜色为白色,默认颜色为黑色 txt.color = "#ffffff"; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } new LayaAir3D();

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

289. 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

290. 3D网格添加刚体后设置欧拉角出现位置错误 [ 59%]

...MoveScript);         camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SOLIDCOLOR;         //方向光         let directionLight = this.scene.addChild(new Laya.DirectionLight());         directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6);         let mat = directionLight.transfor...

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