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

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

731. laya.display.css.TextStyle [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextStyleProperties | Methods | Constants Packagelaya.display.cssClasspublic class TextStyleInheritanceTextStyle laya.display.css.SpriteStyle 文本的样式类 Public Properties PropertyDefined By  align : String ...

来源: Laya2.0_api 发布时间: 20190513

732. ToolTip鼠标悬停的使用 [ 48%]

...此来实现鼠标悬停的提示功能 以下提供了三种鼠标提示package { import laya.net.Loader; import laya.ui.Button; import laya.ui.TipManager; import laya.utils.Browser; import laya.utils.Handler; import ui.TestTipsUI; public class ToolTipDemo { private var _testTip:TestTipsUI;//ui弹...

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

733. as hello world 背景还是黑色 [ 48%]

as hello world 背景还是黑色 as hello world package { import laya.ui.Label; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#ffffff"; var sp : Label = new Label("hello world"); //sp.fontSize = 55; sp.pos(100, 100) ; //sp.co...

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

734. laya.d3.math.Vector2 [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Vector2Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Vector2InheritanceVector2 ObjectImplements laya.d3.core.IClone Vector2 类用于创建二维向量。 Public Properties PropertyDefined By ...

来源: Laya2.0_api 发布时间: 20190513

735. laya.device.geolocation.Geolocation [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GeolocationProperties | Methods | Constants Packagelaya.device.geolocationClasspublic class GeolocationInheritanceGeolocation Object 使用前可用supported查看浏览器支持。 Public Properties PropertyDefined By...

来源: laya_api 发布时间: 20170929

736. laya.device.geolocation.Geolocation [ 48%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GeolocationProperties | Methods | Constants Packagelaya.device.geolocationClasspublic class GeolocationInheritanceGeolocation Object 使用前可用supported查看浏览器支持。 Public Properties PropertyDefined By...

来源: Laya2.0_api 发布时间: 20190513

737. UI-Label [ 48%]

...lor; } Laya.stage.addChild(label); return label; } } } new laya.UI_Label();package { import laya.display.Stage; import laya.ui.Label; import laya.webgl.WebGL; public class UI_Label { public function UI_Label() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV ...

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

738. list里面可以加入多个view吗? [ 48%]

...确,不过list下可以放置view,写了个例子,可以参考下:package { import laya.net.Loader; import laya.ui.List; import laya.ui.View; import laya.utils.Browser; import laya.utils.Handler; public class LayaAirDemo { private var list:List; public function LayaAirDemo() { Laya.init(Brow...

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

739. 从Unity中编辑并导出摄像机(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 48%]

...置天空盒、添加脚本等操作。 ​ 代码如下: ```typescript package { import laya.d3.core.Camera; import laya.d3.core.scene.Scene; import laya.display.Stage; import laya.utils.Handler; import laya.utils.Stat; public class LayaAir3D { public function LayaAir3D() { //初始化引擎 Laya...

来源: Laya2.0_文档 发布时间: 20210715

740. JSON文件加载成功后,怎么解析成Object对象 [ 48%]

...ame": "Otto"} AS测试代码(文档类): --------------------------------package { import laya.display.Text; import laya.net.Loader; import laya.utils.Handler; /** * ... * @author OttoChen */ public class TestMain { private var txt:Text = null; public function TestMain() { Laya.init(800, 800); txt...

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