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

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

31. laya.display.Sprite [ 83%]

...s No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectSubclasses AnimationBase, PerfHUD, Scene, Stage, Text Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标...

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

32. laya.display.Sprite [ 83%]

...s No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectImplements laya.display.ILayoutSubclasses AnimationPlayerBase, Component, DialogManager, GridSprite, MapLayer, MovieClip, Particle2D, Scene, Skeleton, Stage, Tex...

来源: laya_api 发布时间: 20170929

33. laya.display.Animation [ 83%]

...ationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存...

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

34. 关联shader的uniform(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 83%]

... _shaderValues 与 shader uniform。 ```javascript //绑定漫反射贴图 public static var ALBEDOTEXTURE = Laya.Shader3D.propertyNameToID("u_AlbedoTexture"); //绑定描边颜色 public static var OUTLINECOLOR = Laya.Shader3D.propertyNameToID("u_OutlineColor"); //绑定描边宽度 public static v...

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

35. 微信关系链:LayaAir引擎针对开发数据域使用图集支持介绍 [ 82%]

... /** * 事件派发监听管理类 * author xiaosong * @date 2017-02-26 */ public class MsgMgr { /**共享画布类型**/ public static var SHAREDRESIZE:String = "sharedresize"; private static var _i:MsgMgr = null; public function MsgMgr() { super(); } public static function get instance():MsgMgr { ...

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

36. 3D粒子特效初始化卡顿 [ 82%]

...* 是否需要分组。 * 分组资源在地图变化时自动销毁 * **/ public function Load(url:String,isGroup:Boolean):void { _path = UrlConfig.EFFECT_PATH_3D+url; var itemComplete:Sprite3D = Laya.loader.getRes(_path); if(itemComplete == null || itemComplete.loaded == false){ var groupName:Stri...

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

37. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 82%]

...请认真阅读文章,现在改成在具体的使用说明: 主域:public class LayaUISample { public function LayaUISample() { //微信小游戏适配库初始化 MiniAdpter.init(true,false); //初始化引擎 Laya.init(640, 480,WebGL); Laya.stage.scaleMode = Stage.SCALE_FIXED_HEIGHT; Laya.st...

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

38. 本地双击html如何打开laya项目? [ 82%]

...自动安装,这样只需要访问apk就可以解决了,安装apk: public static boolean install(Context context, String filePath) { Intent i = new Intent(Intent. ACTION_VIEW); File file = new File(filePath); if (file != null && file.length() > 0 && file.exists() && ...

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

39. 分享:图集资源做位图文本的工具类(知道fontclip组件的可以略过了,之前一直没注意到这个组件) [ 82%]

... width 宽度 * @param align 水平排列方式 * @param padding 间距 */ public constructor(resFix: string, width: number, align: string = "left",padding: number=0) { super(); this.width = width; this.resFix = resFix; this._align = align; this._padding = padding; } /** * 字间距 */ public set pa...

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

40. 在Unity中设置动画事件(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 81%]

...ent.Script3D; class SceneScript extends Script3D { //用于表现的方法 public var showMsgFunc:Function; public function SceneScript() { } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 public function ShowMsg():void { trace("ShowMsg"); showMsgFunc && show...

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