大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0191 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...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
...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
...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
...复 南 赞同来自: 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
...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
... 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
...。 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
...。 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
.../../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
...。 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