大约有 1,125 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(426) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya3.0_文档(35) Laya_示例(32) Laya2.0_示例(14)
API DocumentationAll Packages | All Classes | Index | Frames No Frames FontClipProperties | Methods | Events Packagelaya.uiClasspublic class FontClipInheritanceFontClip Clip UIComponent Sprite Node EventDispatcher Object 字体切片,简化版的位图字体,只需设置一个切片图...
来源: Laya2.0_api 发布时间: 20190513
... this.bg1.loadImage("war/background.png"); this.addChild(this.bg1); } Laya.class(BackGround,"BackGround",_super); return BackGround; })(Laya.Sprite);报错 "TypeError: this.addChild is not a function at BackGround (file:///D:/test/laya/myLaya/src/BackGround.js:6:14) at Game (file:///D:/tes...
来源: Laya_社区 发布时间: 20181003
...nals Only exported Menu Globals "laya/d3/core/light/PointLight" PointLight Class PointLight deprecated PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color ...
来源: Laya3.0_api 发布时间: 20231115
....Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Blur { private apePath: string = "../../res/apes/monkey2.png"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALI...
来源: Laya_示例 发布时间: 20251209
...say.width/2, "#00ffff"); this.circle.blendMode = "destination-out"; } Laya.class(IndexView,"IndexView",_super); IndexView.prototype.loadProgress = function(){ this.box.addChild(this.circle); if(this.angle <= 360){ this.angle+=12; this.draw.graphics.drawPie(this.say.width/2, this.say.height/2, thi...
来源: Laya_社区 发布时间: 20170807
API DocumentationAll Packages | All Classes | Index | Frames No Frames ColorFilterProperties | Methods Packagelaya.filtersClasspublic class ColorFilterInheritanceColorFilter Filter ObjectImplements IFilter ColorFilter 是颜色滤镜。使用 ColorFilter 类可以将 4 x 5 矩阵转换应...
来源: Laya2.0_api 发布时间: 20190513
...wNum = 100; this.MapColNum = 100; GameMap.super(this); this.init(); } Laya.class(GameMap, "GameMap", laya.display.Sprite); var _proto = GameMap.prototype; _proto.init = function(){ var boxSp = new laya.display.Sprite(); // boxSp.cacheAsBitmap = true; for(var i = 0; i < this.MapRowNum; i++){ for(v...
来源: Laya_社区 发布时间: 20161008
...n HttpRequestExtension() { HttpRequestExtension.__super.call(this); } Laya.class(HttpRequestExtension, 'HttpRequestExtension', _super); var __proto = HttpRequestExtension.prototype; __proto.send = function (url, data, method, responseType, headers) { (method === void 0) && (method = "get"); (respons...
来源: Laya2.0_文档 发布时间: 20210714
...ryName (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Path.cs:215) LayaExport.DataManager.saveLightMapFile (.JSONObject props) LayaExport.DataManager.getSceneNode () LayaExport.DataManager.saveData () LayaExport.DataManager.getData (System.String lastname)...
来源: Laya_社区 发布时间: 20181014
...、打开状态。 arrow.x = 0; arrow.y = 5; this.addChild(arrow); } Laya.class(Item, "Item", Box); var Stage = Laya.Stage; var Tree = Laya.Tree; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400...
来源: Laya_示例 发布时间: 20251209