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

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

261. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 46%]

...可直接查看API: [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.utils.Tween](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Utils&class=laya.utils.Tween) `Ease`类的API中对缓动函数进行了基础的介绍,点击链接可...

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

262. laya.d3.core.Camera [ 45%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames CameraProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class CameraInheritanceCamera BaseCamera Sprite3D Node EventDispatcher Object Camera 类用于创建摄像机。 Public Properties Hide Inh...

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

263. 关于大量图片加载绘制后的内存暴增的疑问 [ 45%]

...aya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Demo { private var num:Number=0;//加载图片的个数 private var sp:Sprite;//显示图片的显示对象容器 private var texture:Texture;//预加载图片的纹理 public function Demo() { Laya.init(800,1000,WebGL)...

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

264. 动画-新版骨骼动画 [ 45%]

...ombieAnimator.play(clipName[++curStateIndex % clipName.length]); }); })); }class SkinAnimation_New { private changeActionButton: Laya.Button; private zombieAnimator: Laya.Animator; private curStateIndex: number = 0; private clipName: Array = ["walk", "attack", "left_fall", "right_fall", "back_fall"]...

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

265. 材质-BlinnPhong-高光贴图 [ 44%]

...ansform.rotate(this.rotation); dude2.transform.rotate(this.rotation); }); }class BlinnPhong_SpecularMap { private scene:Laya.Scene; private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); private specularMapUrl:any = ["../../res/threeDimen/skinModel/dude/Assets/dude/headS.png", "../../res/thre...

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

266. 材质-BlinnPhong-法线贴图 [ 43%]

...form.rotate(this.rotation); monster2.transform.rotate(this.rotation); }); }class BlinnPhong_NormalMap { private scene:Laya.Scene; private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); private normalMapUrl:any = ["../../res/threeDimen/staticModel/lizardCal/rock_norm.png", "../../res/threeDime...

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

267. 我用as3调试的matter.js,刚体发生碰撞后不会旋转,我的代码在附件里 [ 43%]

...i;     /**      * ...      * @author zzz      */     public class WWJ_Main      {         private const stageWidth:int = 540;         private const stageHeight:int = 960;                  private var Matter:Object = Browser.window.Matter;         priv...

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

268. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 43%]

...m.Collections; using System.Collections.Generic; using UnityEngine; public class TestMove : MonoBehaviour { [SerializeField] private Transform pivot; [SerializeField] private Transform guard; // Use this for initialization void Start () { pivot.transform.rotation = Quaternion.Euler(0, 0, -20); } // ...

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

269. 材质-PBRStandard材质 [ 43%]

...shRender.sharedMaterial = mat; barrel3.meshRender.sharedMaterial = mat; });class PBRStandardMaterialDemo { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addCh...

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

270. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

... 下例绘制10000个文本(根据电脑性能而定,本例为10000): class Test { private text:Laya.Text; constructor() { Laya.init(550,400,Laya.WebGL); Laya.Stat.show(); var textBox=new Laya.Sprite(); for(var i=0;i<10000;i++) { this.text=new Laya.Text(); this.text.text=(Math.random()*100).t...

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