大约有 435 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0102 秒)
Laya_社区(186) Laya3.0_api(80) Laya2.0_api(60) laya_api(52) Laya2.0_文档(30) Laya3.0_文档(25) Laya2.0_示例(1) Laya_示例(1)
...s No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectSubclasses AnimationBase, PerfHUD, Scene, Stage, Text Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标...
来源: Laya2.0_api 发布时间: 20190513
...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
...ationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存...
来源: Laya2.0_api 发布时间: 20190513
... _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
... /** * 事件派发监听管理类 * 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
...* 是否需要分组。 * 分组资源在地图变化时自动销毁 * **/ 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
...请认真阅读文章,现在改成在具体的使用说明: 主域: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
...自动安装,这样只需要访问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
... 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
...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