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

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

81. laya.resource.NativeContext_API3.0 [ 64%]

...All Inherited Externals Only exported Menu Globals "laya/resource/NativeContext" NativeContext Class NativeContext Hierarchy NativeContext Index Constructors constructor Properties _buffer _byteArray _fdata _idata sprite ARRAY_BUFFER_REF_COPY ARRAY_BUFFER_REF_REFERENCE ARRAY_BUFFER_TYPE_CMD ARRAY_BU...

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

82. 请教文档中Graphic.drawTextures方法第二个参数的具体参数格式 [ 63%]

请教文档中Graphic.drawTextures方法第二个参数的具体参数格式 Graphic  drawTextures () method  public function drawTextures(tex:Texture, pos:Array):void批量绘制同样纹理。 Parameters tex:Texture — 纹理。   pos:Array — 绘制次数和坐标。   请教第二个...

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

83. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 63%]

...ar material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; })); //测试遮挡剔除 material.cull = 0 box.meshRenderer.material = material;  let res1 = Laya.Sp...

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

84. 动画不显示 [ 62%]

...   package {     import laya.utils.Handler;     import laya.display.Text;     import laya.display.Animation;     import laya.webgl.WebGL;     import laya.media.Sound;     import laya.webgl.shapes.Ellipse;     import laya.display.Stage;     import laya.ui.Label;     import...

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

85. 2D精灵光 · LayaAir3.4 · 引擎文档 · LAYABOX [ 62%]

...color = new Laya.Color(1, 1, 1); spritelightComponent.intensity = 0.5; let tex = Laya.loader.getRes("resources/spritelight.png"); spritelightComponent.spriteTexture = tex; } // 配置方向光 setDirectLight(): void { let directlithtComponent = this.directLight.getComponent(Laya.DirectionLight2D); d...

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

86. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 62%]

...Mesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:...

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

87. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 62%]

...Mesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:...

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

88. 手机QQ厘米秀GLTF模型使用说明(TypeScript-小游戏适配文档-QQ小游戏) [ 61%]

...her: { cfg: "res/self/gltfMode/gltfBin/beautyResource/blusher/dress.json", tex: "res/self/gltfMode/gltfBin/beautyResource/blusher/beauty.png" }, eyelid: { cfg: "res/self/gltfMode/gltfBin/beautyResource/eyelid/dress.json", tex: "res/self/gltfMode/gltfBin/beautyResource/eyelid/beauty.png" }, ... } ```...

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

89. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 61%]

...eBox(1,1,1)); var material: BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { material.albedoTexture = tex; })); box.meshRenderer.material = material; var monkey:Sprite3D = res.getChildByName("LayaMonkey") as Sprite3D...

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

90. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 61%]

...0px">' + '<em>I</em> like ' + '<span style="color:white; text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8px 7px #001135;">' + 'cheese</span>' + '</div>' + '</foreignObj...

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