大约有 1,018 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0090 秒)
...his.mat1 = new Laya.BlinnPhongMaterial(); //加载纹理资源 Laya.Texture2D.load("res/wood.jpg", Laya.Handler.create(this, (tex: Laya.Texture2D) => { this.mat1.albedoTexture = tex; //添加一个球体 ...
来源: Laya_社区 发布时间: 20201120
...ode='lighter' 图片异常 unity 粒子特效 laya插件有问题? 模型资源释放问题 修改stage的scale后,会发生异常情况 3d 添加灯光 模型变的黑呼呼的 很多黑面 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 请...
来源: Laya_社区 发布时间: 20180202
...NE 微信 zpo 赞同来自: 请问laya工具构建的app,layanative下载资源时直接报does not belong to the same app domain,这个怎么解决呢 2019-07-06 0 0 分享 微博 QZONE 微信 一级保护废物 赞同来自: laya的官方API文档不能查API,要它何用,删了吧!!...
来源: Laya_社区 发布时间: 20151028
...; // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初始化角色 this.hero.init("hero",0,1,0,...
来源: Laya_社区 发布时间: 20170525
... Image 实例。 Parameters Default value skin: string | null = null 皮肤资源地址。 Returns Image Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/Image.ts:...
来源: Laya3.0_api 发布时间: 20231115
...yaAir IDE动画文件路径:使用此类型需要预加载所需的图集资源,否则会创建失败,如果不想预加载或者需要创建完毕的回调,请使用loadAnimation(...)方法; 2. 图集路径:使用此类型创建的动画模版不会被缓存到动画模版缓存池中...
来源: Laya3.0_api 发布时间: 20231115
...: string): void Inherited from Image.group Defined in laya/ui/Image.ts:169 资源分组。 Returns string Inherited from Image.group Defined in laya/ui/Image.ts:173 资源分组。 Parameters value: string Returns void height get height(): number set height(value: number): void Inherited from Image....
来源: Laya3.0_api 发布时间: 20231102
...is.upVector3 = new Laya.Vector3(0, 1, 0); //预加载所有资源 let resource = ["Export/LayaScene_JJF/Conventional/JJF.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //...
来源: Laya_社区 发布时间: 20190531
...十分大,到了令人发指的地步,经过屏蔽你所提供demo的资源中所有精灵的物理组件,帧率就达到满帧,发现你使用的碰撞形状都是MeshColliderShape,并且数量比较多,因为iphone的微信小游戏不支持jit编译,所以物理碰撞检测效率十...
来源: Laya_社区 发布时间: 20190921
...e(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png","label");//创建一个 Button 实例对象 button ,传入它的皮肤skin和标签label。 button.x = 100;//设置 button 对象的属性 x 的...
来源: Laya3.0_api 发布时间: 20231115