大约有 1,062 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(409) Laya2.0_api(226) Laya_社区(219) laya_api(168) Laya2.0_文档(20) Laya3.0_文档(10) Laya2.0_示例(7) Laya_示例(3)
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/SkinnedMeshSprite3DShaderDeclaration" SkinnedMeshSprite3DShaderDeclaration Class SkinnedMeshSprite3DShaderDeclaration Hierarchy SkinnedM...
来源: Laya3.0_api 发布时间: 20231115
...zLandlordAni extends SingleBase{ private mFactory: Laya.Templet = null; public isFinish = false; private mArmatureUsed:Array<Laya.Skeleton> = []; private mArmatureUnUsed:Array<Laya.Skeleton> = []; public static getInstance():DdzLandlordAni{ return this.instance(DdzLandlordAni); } ...
来源: Laya_社区 发布时间: 20190821
...加入如下函数: private static var createTextureCallBack:Function; public static function createTexture(s:Sprite,callback:Function,callbackThis:Object):void{ createTextureCallBack = callback; var htmlCanvas:HTMLCanvas = s.drawToCanvas(512,512,0,0); var realCanvas:* = htmlCanvas.getCanvas(); va...
来源: Laya_社区 发布时间: 20170718
... * @param aniIndex 动画索引 * @param frameIndex 帧索引 * @return */ public function getGrahicsDataWithCache(aniIndex:int, frameIndex:Number):Graphics { if(_graphicsCache[aniIndex] && _graphicsCache[aniIndex][frameIndex]){ return _graphicsCache[aniIndex][frameIndex]; } return null; } 2...
来源: Laya_社区 发布时间: 20180820
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors constructor...
来源: Laya3.0_api 发布时间: 20231102
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/media/Media" Media Class Media Media用于捕捉摄像头和麦克风。可以捕捉任意之一,或者同时捕捉两者。getCamera...
来源: Laya3.0_api 发布时间: 20231115
...ames No Frames Texture2DProperties | Methods Packagelaya.d3.resourceClasspublic class Texture2DInheritanceTexture2D BaseTexture laya.resource.Resource Texture2D 二维纹理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By defaulteTexture ...
来源: laya_api 发布时间: 20170929
...码如下: **方式一:** ```java package { import laya.utils.Browser; public class JSDemo { public function JSDemo() { //初始化引擎 Laya.init(0, 0); //运行JS alert Browser.window.alert('我是alert'); } } } ``` **方式二:** ```java package { public class JSDemo { public function JSDe...
来源: Laya2.0_文档 发布时间: 20210715
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/html/HtmlElement" HtmlElement Class HtmlElement Hierarchy HtmlElement Index Constructors constructor Properties _attrs name obj space style text...
来源: Laya3.0_api 发布时间: 20231115
...了 package { import laya.wx.mini.MiniAdpter; /** * ... * @author lin */ public class ZeroWXAdpter { static public function init():void { MiniAdpter.window.wx.onShow(onShow); MiniAdpter.window.wx.onHide(onHide); } static private function onShow(res):void { console.warn("小游戏回到前台", res);...
来源: Laya_社区 发布时间: 20180726