大约有 520 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(281) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(35) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
... Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; createInput(); } private function createInput():void { panel = new Panel(); ...
来源: Laya_社区 发布时间: 20180612
...法赋值 _script.showMsgFunc = function () { this.text = "ShowMsg"; this.color = "red"; }.bind(_lab); })); ``` 最后了来看下效果,如图2。 (图2)
来源: Laya2.0_文档 发布时间: 20210715
...fectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVecto...
来源: Laya3.0_api 发布时间: 20231115
... Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //加载资源 Laya.loader.load(this.skins, Handler.create(this, this.onSkinLoadComplete)); } /***加载资源完成***/ private onSkinLoadComplete(e:any=null):void { //创建水平滚动条 this.createHScrol...
来源: Laya2.0_文档 发布时间: 20210715
... Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //加载资源 Laya.loader.load(this.skins, Handler.create(this, this.onSkinLoadComplete)); } /***加载资源完成***/ private onSkinLoadComplete(e:any=null):void { //创建垂直滚动条 this.createVScrol...
来源: Laya2.0_文档 发布时间: 20210715
...tainer = canvas; var canvas2 = Laya.init(480, 360, WebGL); // Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createInteractiveTarget(); createLogger(); } function createInteractiveTarget() { var rect = new Sprite(); rect.graphics.drawRect(0, 0, 200, 200, "#D2691E"); rect.size(200,...
来源: Laya_社区 发布时间: 20180205
...renderQuality Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoTexture alphaTest alphaTestValue anisotropy blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cull depthTest depthWrite destroy...
来源: Laya3.0_api 发布时间: 20231102
...d: function () { var text = new Text(); text.overflow = Text.VISIBLE; text.color = "#FFFFFF"; text.fontSize = 20; return text; } } return UIDropBox; })(); 请问如何使我的自定义类UIDropBox继承Laya.Sprite? 现在第10行 调用addChild 调不到。。报错了 没继承成功 2016-12-26 ...
来源: Laya_社区 发布时间: 20161226
...动模式 怎样获取浏览器地址传过来的GET参数 2.0 drawTexture color参数无效 问题状态 最新活动: 2018-10-30 15:36 浏览: 2184 关注: 2 人
来源: Laya_社区 发布时间: 20181018
...a _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowR...
来源: Laya3.0_api 发布时间: 20231115