大约有 854 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)
Laya_社区(263) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(34) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...ib/base/SingleBase"; import DdzFarmersAni from "./DdzFarmersAni"; export default class DdzLandlordAni extends SingleBase{ private mFactory: Laya.Templet = null; public isFinish = false; private mArmatureUsed:Array<Laya.Skeleton> = []; private mArmatureUnUsed:Array<Laya.Skeleton> = [...
来源: Laya_社区 发布时间: 20190821
...被举起 biu = 'biu',//被扔 dizziness = 'dizziness',//眩晕 } export default class RoleBase extends Laya.Script3D{ public nGrade:number = 0; public nSpeed:number = 5; public sprite:Laya.Sprite3D = null; public animator:Laya.Animator = null; public Init(){ this.sprite = this.owner as Laya...
来源: Laya_社区 发布时间: 20191026
...var maJiang:MeshSprite3D = new MeshSprite3D(Mesh.load("3d/maJiang/asdsad-default015.lm")); scene.addChild(maJiang);默认是加载的UV贴图里面的第一张贴图,怎么去掉用其他位置的图片。我的贴图是附件里面的,默认显示的一条,怎么让他显示一万的贴图 ...
来源: Laya_社区 发布时间: 20170311
... import Sprite = Laya.Sprite import Box = Laya.Box /** 公告栏 */ export default class Notice extends View { /** 滚动区域 */ hornBox: Box /** html对象 */ html: HTMLDivElement /** 滚动框的宽度 */ defaultX = 1110 /** 动画是否出于播放状态 */ isPlayIng:boolean = false /** 空格 ...
来源: Laya_社区 发布时间: 20180314
...?: string; //资源类型。比如:Loader.IMAGE。 priority?: number; //(default = 0)加载的优先级,数字越大优先级越高,优先级高的优先加载。 group?: string; //分组,方便对资源进行管理。 cache?: boolean; //是否缓存 noRetry?: boolean; //是否重新尝试...
来源: Laya3.0_文档 发布时间: 20251010
...来自: /** * FUI资源加载类 * jhj * QQ:8510001 * 2019-11-25 */ export default class FguiResMgr { private static _instance: FguiResMgr; public static get instance(): FguiResMgr { if (!this._instance) this._instance = new FguiResMgr(); return this._instance; } /**加载优先级,越小越优先...
来源: Laya_社区 发布时间: 20191107
...1, clipY:int = 1) 创建一个新的 Clip 示例。 Parameters url:String (default = null) — 资源类库名或者地址 clipX:int (default = 1) — x方向分割个数 clipY:int (default = 1) — y方向分割个数 Method DetailcreateChildren()methodoverride protected function createChildren...
来源: laya_api 发布时间: 20170929
...例 class bitmapimg extends Laya.Image //2.0版本 这里区别为export default class bitmap extends Laya.Image { private szurl:string="" constructor(url:string){ super() this.onUrlChangeHandler(url); } protected onUrlChangeHandler(url:string):void { if(this.szurl!="") this.disp() this.szur...
来源: Laya_社区 发布时间: 20181201
...orld按钮弹出一个对话框,对话框里面展示 Hello World!export default class HelloWorld extends Laya.Scene { constructor() { super(); HelloWorld.instance = this; } onBtnShowClick(){ var dialog = new Laya.Dialog(); dialog.width=300; dialog.height=600; //var bg = new Laya.Image('comp/img_b...
来源: Laya_社区 发布时间: 20190117
...改总计。 d:Number — 指定运动的持续时间。 s:Number (default = 1.70158) — 指定过冲量,此处数值越大,过冲越大。ReturnsNumber — 指定时间的插补属性的值。 这是api的解释,可是怎么用?没有任何文档说明。你说的那个例子...
来源: Laya_社区 发布时间: 20170105