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

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

1511. 一行居中的动态文字,怎么设置不同样式。 [ 60%]

...一个函数,通过传参的方式改变文本html的不同样式 public function setUp():void { var html:HTMLDivElement=new HTMLDivElement(); html.width=500; html.height=500; changeHtml('#0000FF',"哈哈哈哈哈",html); Laya.stage.addChild(html); } private function changeHtml(color:String,text:S...

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

1512. 阿拉伯语言的显示都是反的 [ 60%]

...版模式为右到左。          */         public static function setTextRightToLeft():void         {             var style:Object;             style = Browser.canvas.source.style;             style.display = "none";           ...

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

1513. laya.ani.bone.SkinSlotDisplayData_API3.0 [ 60%]

...ertices weights width createTexture destory Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface

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

1514. laya.d3.core.scene.SceneRenderManager_API3.0 [ 60%]

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

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

1515. laya.events.TouchInfo_API3.0 [ 60%]

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

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

1516. 在微信小游戏真机wx.onShow和wx.onHide中的currTimer的问题 [ 60%]

...信小游戏真机wx.onShow和wx.onHide中的currTimer的问题  public function Main() { MiniAdpter.init(); MiniAdpter.window.wx.onShow(_onShowWX); MiniAdpter.window.wx.onHide(_onHideWX); } private function _onShowWX(res:*):void { console.log("wx.onShow:",res); console.log(Laya.timer.currTimer); }...

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

1517. laya.d3.core.HeightMap_API3.0 [ 60%]

...dth getHeight creatFromMesh createFromImage Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Static method

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

1518. laya.d3.core.trail.VertexTrail_API3.0 [ 60%]

...ation vertexDeclaration1 vertexDeclaration2 Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static property

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

1519. 关于嵌入div [ 60%]

...的链接 提交 1 个回复 cuixueying 赞同来自: 请参考:public function LayaAirDemo() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgColor = "#232628"; Laya.timer.once(500,this,onLoop); Stat.show(); } private function onLoop():void { __JS__('var LayaCanvas1=document.getEle...

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

1520. laya.d3.component.animator.AnimatorStateTriggerCondition_API3.0 [ 60%]

...ckState conditionIDToName conditionNameToID Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Inherited accessor

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