大约有 679 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0100 秒)
Laya3.0_api(269) Laya_社区(214) Laya2.0_api(108) laya_api(59) Laya2.0_文档(20) Laya3.0_文档(8) Laya2.0_示例(1)
...tends AnimatorStateScript { private var _text:Text = null; public function get text():Text { return _text; } public function set text(value:Text):int { _text = value; } public function AnimatorStateScriptTest() { } /** * 动画状态开始时执行。 */ override public function onStateEnter():void ...
来源: Laya2.0_文档 发布时间: 20210714
...界都是0, // 获取动画的边界信息 var bounds: Rectangle = ani.getGraphicBounds(); 2018-01-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来自: https://ask.layabox.com/question/589 201...
来源: Laya_社区 发布时间: 20180124
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示...
来源: laya_api 发布时间: 20170929
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite ...
来源: Laya2.0_api 发布时间: 20190513
...lEventDic.set("BagUI",{"uiClass": BagUI}); var uiData:Object = panelDic.get("BagUI"); var uiClass:Class = uiData.uiClass; var ui:View = new uiClass(); 如上代码所示:在Object中保存的 Class 应该如何实例化呢? 2017-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20171010
...和otherAnchor之间的最大距离 Implementation public function get maxLength():Number public function set maxLength(value:Number):voidotherAnchorproperty public var otherAnchor:Array[首次设置有效]链接刚体链接点,是相对于otherBody的左上角位置偏移otherBody...
来源: Laya2.0_api 发布时间: 20190513
..., mipmap:Boolean = false) 创建一个 TextureCube 实例。 TextureCube _getSource():*[override] 获取纹理资源。 BaseTexture _parse(data:*, propertyParams:Object = null, constructParams:Array = null):TextureCube[static] TextureCube generateMipmap():void 通过基础数据生成mipMap。 ...
来源: Laya2.0_api 发布时间: 20190513
...一次某函数(基于帧率)。功能同Laya.timer.frameOnce()。 Node getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点...
来源: Laya2.0_api 发布时间: 20190513
...sgMgr = null; public function MsgMgr() { super(); } public static function get instance():MsgMgr { return _i ||= new MsgMgr(); } /**初始化消息监听**/ public function init():void { //接收主域透传的数据 if(MiniAdpter.isZiYu && MiniAdpter.isPosMsgYu) { __JS__('wx').onMessage(fun...
来源: Laya_社区 发布时间: 20180525
...id 设置渲染相关状态。 BaseMaterial _setRenderStateFrontFace(isTarget:Boolean, transform:Transform3D):void 设置渲染相关状态。 BaseMaterial _upload():void 上传材质。 BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void[override] ParticleMaterial dispos...
来源: laya_api 发布时间: 20170603