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

大约有 773 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)

511. laya.ui.ProgressBar [ 54%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ProgressBarProperties | Methods | Events Packagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Propertie...

来源: Laya2.0_api 发布时间: 20190513

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

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

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

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

514. 发现TimeLine的一些问题,像是BUG [ 54%]

....utils.Handler; import laya.utils.Stat; import laya.utils.TimeLine; public class AirDemo { private var sp1:Sprite; private var sp2:Sprite; private var sp3:Sprite; private var timeLine1:TimeLine; private var timeLine2:TimeLine; private var timeLine3:TimeLine; public function AirDemo() { //初始化...

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

515. 精灵 · LayaAir3.0文档 · LAYABOX [ 54%]

...下添加一个自定义组件脚本,并添加如下代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2...

来源: Laya3.0_文档 发布时间: 20240528

516. PBR标准材质实时阴影渲染问题 [ 54%]

...odelViewer from "./ModelViewer"; import Scene = Laya.Scene; export default class Game3D extends Scene { constructor() { super(); //初始化引擎 Laya3D.init(0, 0); var scene_360 = Laya.loader.getRes("LayaScene_PUCHENG3D/Conventional/PUCHENG3D.ls") as Laya.Scene3D; Laya.stage.addChildAt(scene_360, ...

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

517. Animation属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 54%]

...n的API介绍请参考 [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.Animation](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Animation) ## 2、通过LayaAirIDE创建Animation 组件 ### 2.1 创建An...

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

518. laya.ui.CheckBox [ 54%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames CheckBoxProperties | Methods | Events Packagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中...

来源: Laya2.0_api 发布时间: 20190513

519. Laya.Sprite loadImage 参数问题 [ 54%]

...: 与内容相关的链接 提交 1 个回复 大当家的 赞同来自: class Main { constructor() { //初始化舞台 Laya.init(1334,750,Laya.WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //原始位图 this.createImg(100,50); //红色滤镜 this.creteRedFilter(); //灰色滤镜 ...

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

520. 照相机-正交相机 [ 54%]

...oord(pos, _translate); layaMonkey.transform.position = _translate; }); }); class OrthographicCamera { private pos: Laya.Vector3 = new Laya.Vector3(310, 500, 0); private _translate: Laya.Vector3 = new Laya.Vector3(0, 0, 0); constructor() { Laya3D.init(1024, 768, true); Laya.stage.scaleMode = Laya.Sta...

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