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

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

1511. UI-Tree [ 75%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Box = Laya.Box; var Clip = Laya.Clip; var Label = Laya.Label; var Utils = Laya.Utils; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24"...

来源: Laya_示例 发布时间: 20260303

1512. laya.ui.ColorPicker_API3.0 [ 75%]

...cker; import laya.utils.Handler; public class ColorPicker_Example { public function ColorPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete))...

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

1513. 场景环境反射(TypeScript-3D基础(TS)-LayaAir3D之场景渲染配置) [ 75%]

...ad("res/threeDimen/skyBox/DawnDusk/SkyBox.lmat", Laya.Handler.create(null, function(mat){ //获取相机的天空盒渲染体 var skyRenderer = camera.skyRenderer; //设置天空盒mesh skyRenderer.mesh = Laya.SkyBox.instance; //设置天空盒材质 skyRenderer.material = mat; //设置场景的反...

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

1514. 请问laya2.0 2d物理有射线检测功能吗 [ 75%]

...复 南 赞同来自: Smile~ // RayCast方法: // world.RayCast(callback:Function,point1:b2Vec2,point2:b2Vec2); // * callback 回调函数 // * point1 射线的起点 // * point2 射线的终点 // 回调函数: // function(fixture:b2Fixture,point:b2Vec2,normal:b2Vec2,fraction:Number):Number // ...

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

1515. laya.html.dom.HTMLIframeElement [ 75%]

...override] 加载html文件,并解析数据 Implementation     public function set href(value:String):voidConstructor DetailHTMLIframeElement()Constructorpublic function HTMLIframeElement()Fri Sep 29 2017, 06:34 PM +08:00

来源: laya_api 发布时间: 20170929

1516. 昨天一开始运行好好的,没动别的,运行就开始报错 [ 75%]

... X3005: '_webgl_42c649225184485b': identifier represents a variable, not a function Warning: D3D shader compilation failed with default flags. (ps_5_0)  Retrying with skip validation C:\fakepath(596,34-81): error X3005: '_webgl_42c649225184485b': identifier represents a variable, not a function War...

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

1517. laya.ui.OpenDataContextView_API3.0 [ 75%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

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

1518. laya.ui.Panel_API3.0 [ 75%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

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

1519. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 75%]

.../../res/ui/listskins/4.jpg", "../../../../res/ui/listskins/5.jpg"]; public function UI_List() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; ...

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

1520. laya.ui.LayoutBox_API3.0 [ 75%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

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