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

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

961. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 33%]

....getRes("auth/sp_right.png"); this._arrCheck[3] = true; } break; } sp_icon.pos(input.width + 10, -8); input.addChild(sp_icon); } /** * 占位符处理 * @param input TextInput */ private _setPlaceHolder(input: Laya.TextInput) { switch (input.name) { case "input_nickname": // input.changeText("限6...

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

962. laya.ui.ComboBox_API3.0 [ 33%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_bottom set_dataSource set_he...

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

963. laya.ui.Label_API3.0 [ 33%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds setVar set_anchorX set_anchorY set_bottom set_dataSource...

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

964. laya.ui.Tab_API3.0 [ 33%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_bottom set_dataSource set_he...

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

965. HTML文本 · LayaAir3.0文档 · LAYABOX [ 33%]

...r='#d26ae3'>HTML文本</span>"; htmlDiv.innerHTML = html; htmlDiv.pos(50,200); console.log("文本的实际宽度为"+htmlDiv.contextWidth,"文本的实际高度为"+htmlDiv.contextHeight) Laya.stage.addChild(htmlDiv); 运行效果: 运行输出:文本的实际宽度为158.677734375 文...

来源: Laya3.0_文档 发布时间: 20230303

966. laya.ui.Tree_API3.0 [ 33%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setItemState setSelfBounds set_anchorX set_anchorY set_bottom set_data...

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

967. laya.d3.physics.Rigidbody3D_API3.0 [ 33%]

...linearDamping linearFactor linearVelocity mass orientation overrideGravity position restitution rollingFriction simulation sleepAngularVelocity sleepLinearVelocity totalForce totalTorque Methods _initialize _setOwner applyForce applyForceXYZ applyImpulse applyTorque applyTorqueImpulse clearForces de...

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

968. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 31%]

...lor='#d26ae3'>HTML文本</span>"; htmlDiv.innerHTML=html; htmlDiv.pos(50,200); var txt:String = ""; var tTxt:String; var tHTMLElement:HTMLElement; for(var i:int = 0,n:int = htmlDiv._childs.length;i < n;i++) { tHTMLElement = htmlDiv.getChildAt(i) as HTMLElement; if(tHTMLElement) { tTxt= t...

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

969. laya.d3.core.scene.BaseScene [ 31%]

...e(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//把精灵显示到舞台 也可以获取原始图片数据,分享到网上,从而...

来源: laya_api 发布时间: 20170422

970. 2D相机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 31%]

... = new Laya.Area2D(); //设置2D区域节点的位置和大小 this.area2D.pos(100, 100); this.area2D.size(200, 200); this.owner.addChild(this.area2D); //创建2D相机 this.camera2D = this.area2D.addChild(new Laya.Camera2D); //开发者可以根据需求自行设置相机的各项属性,例如:...

来源: Laya3.0_文档 发布时间: 20251010