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

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

681. Shader预编译解决方案 [ 37%]

...3D._compileDefineDatas;                 compileDefineDatas.clear();                 for (var i = 0, n = defineNames.length; i < n; i++)                     //将宏定义名称转换为  Laya.DefineDatas               ...

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

682. Unity资源导出插件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...持情况如下: Unity的相机属性 LayaAir是否支持导出的说明 Clear Flags(清除标志) 支持 (包括:Skybox天空盒(Background背景色)、Solid Color纯色(Background背景色)、Depth only仅深度、Don’t Clear不清除) Projection(投射方式) 支持(...

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

683. laya.display.AnimationBase_API3.0 [ 36%]

...dChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents ...

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

684. SVG渐变精灵的扩展脚本继承了多个精灵, 在safari环境下重叠了渲染 [ 36%]

...   _proto.setGradientText = function () {             this.graphics.clear();             let data = '';             data += 'data:image/svg+xml,' + '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" ';             data += 'vi...

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

685. 为什么会出现报错 ani not found:ufo1_down [ 35%]

...果主角死亡,停止游戏循环 if(this.hero.hp < 1){ Laya.timer.clear(this,onLoop); } // 每隔30帧创建新的敌机 if(Laya.timer.currFrame%60 === 0){ createEnemy(2); } } function lostHp(role,lostHp){ // 减血 role.hp -= lostHp; if(role.heroType === 2){ // 每吃一个子弹升级道具...

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

686. laya.display.Animation_API3.0 [ 35%]

...dChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents ...

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

687. laya.display.Animation [ 35%]

...(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信...

来源: laya_api 发布时间: 20170929

688. laya.display.Animation [ 34%]

...如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放...

来源: Laya2.0_api 发布时间: 20190513

689. 为什么会出现报错 ani not found:ufo1_down [ 34%]

...果主角死亡,停止游戏循环 if(this.hero.hp < 1){ Laya.timer.clear(this,onLoop); } // 每隔30帧创建新的敌机 if(Laya.timer.currFrame%60 === 0){ createEnemy(2); } } function lostHp(role,lostHp){ // 减血 role.hp -= lostHp; if(role.heroType === 2){ // 每吃一个子弹升级道具...

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

690. laya.display.EffectAnimation [ 33%]

...如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放...

来源: Laya2.0_api 发布时间: 20190513