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

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

791. laya.ui.FontClip [ 60%]

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

792. 官方视频教程中飞机大战 "this.addChild is not a function" [ 60%]

... 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

793. laya.d3.core.light.PointLight_API3.0 [ 60%]

...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

794. 滤镜-模糊滤镜 [ 60%]

....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

795. 关于环形进度条,进度不能重置问题 [ 60%]

...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

796. laya.filters.ColorFilter [ 60%]

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

797. 最新版本绘制100x100个sprite ios不能显示 [ 60%]

...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

798. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 60%]

...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

799. Unity导出有光照贴图时,出现错误:ArgumentException: Invalid path [ 60%]

...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

800. UI-Tree [ 59%]

...、打开状态。 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