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

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

1651. 鼠标交互-鼠标交互 [ 57%]

...webgl.WebGL; public class Interaction_Mouse { private var txt:Text; public function Interaction_Mouse() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage....

来源: Laya2.0_示例 发布时间: 20260106

1652. tiledMap tileSetId是什么 [ 57%]

tiledMap tileSetId是什么 getTileProperties () method public function getTileProperties(index:int, id:int, name:String):* 得到tile自定义属性 Parameters index:int — 地图块索引 id:int — 具体的TileSetID name:String — 属性名称 这个api怎么用?tileSetId是什么 2018-01-2...

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

1653. laya.d3.core.scene.bvhscenerendermanager.BVHSceneRenderManager_API3.0 [ 57%]

...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

1654. 请问动画开始的钩子函数是什么? [ 57%]

...n 赞同来自: 1.0还是2.0  2d 还是3d    ,2.0 3d 是重写 public function onStateEnter():void {                  } 动画事件方法 2019-04-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 .Yang 相关问题 ...

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

1655. laya.d3.math.Plane_API3.0 [ 57%]

...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Static property Static method Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

1656. laya.resource.Texture_API3.0 [ 57%]

...完成回调 Returns Promise<void> off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除...

来源: Laya3.0_api 发布时间: 20231115

1657. list 数据不会及时渲染 [ 57%]

list 数据不会及时渲染    refreshCard(0,[xxxxxx]);  public function refreshCard(index:int,cardArr:Array):void{             var cardList:List = _homeSeceneView["myCard_"+index];             if(cardList){                 if(!cardList.visible){          ...

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

1658. 请问addchildren()具体怎么用 [ 57%]

...  ...args 无数子节点。          */         public function addChildren(... args):void {             var i:int = 0, n:int = args.length;             while (i < n) {                 addChild(args[i++]);             }    ...

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

1659. 如何将一段文字放置到粘贴板 , 或者说点击一个按钮后复制copy一段文字? [ 57%]

...现在需要的复制粘贴板功能,在安卓下,直接这样写: function copyToClip(){ var Context = plus.android.importClass("android.content.Context"); var main = plus.android.runtimeMainActivity(); var clip = main.getSystemService(Context.CLIPBOARD_SERVICE); plus.android.invoke(clip,"set...

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

1660. mac下用FB打包发布测试页面,chrome浏览器看不到预期显示文字 [ 57%]

...isplay.Text;     public class LayaAirTest     {         public function LayaAirTest()         {             Laya.init(600, 300);             var txt:Text   = new Text();             txt.text     = "abc"+Laya.timer.currTimer;             txt.color  ...

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