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

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

951. 这种进度条怎么实现? [ 49%]

...20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() this._init() } private _init() { this.cacheAs = "bitmap" this.size(this.DEF_SIZE,this.DEF_SIZE) this.pos(200,200) this.cacheAs = "bitmap" this.graphics.drawPie(this.DEF_SIZE >> 1, this.DEF_SIZE &...

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

952. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 49%]

...项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function undefined Uncaught TypeError: Cannot read property 'load' of null 问题状态 最新活动: 20...

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

953. 3D场景中背景无法透明,版本2.7.1 [ 49%]

...透明,永远是黑色 export default class GameUI extends Laya.Scene { constructor() { super(); Config.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = null; //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D());...

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

954. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 49%]

...质。 Hierarchy Material ShurikenParticleMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERMODE_ADDTIVE RENDERMODE_ALPHABLENDED RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_TRANSPARENT SHAD...

来源: Laya3.0_api 发布时间: 20231115

955. Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug [ 49%]

...class NewTest { public static url: string = "333.json"; private loadedMap; constructor() { this.loadedMap = Laya.Loader["loadedMap"];  Laya.init(720, 1280, Laya.WebGL); Laya.Stat.show(0,0); Laya.stage.alignH = "center"; Laya.stage.alignV = "middle"; Laya.stage.scaleMode = "fixedwidth"; console.log(...

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

956. 窗口组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...的内容。 aWindow.modal = true; class MyWindow extends Laya.GWindow { constructor() { super(); this.modal = true; } } 当模态窗口显示时,模态窗口背后可以自动覆盖一层灰色的颜色,这个颜色可以自定义: Laya.UIConfig2.modalLayerColor = "#333333"; 当点击窗口...

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

957. laya.d3.core.material.BaseMaterial [ 49%]

...r):voidrenderQueueproperty public var renderQueue:int 所属渲染队列. Constructor DetailBaseMaterial()Constructorpublic function BaseMaterial() 创建一个 BaseMaterial 实例。 Method Detail_addReference()methodoverride public function _addReference(count:int = 1):void Parameters count:int (...

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

958. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 49%]

...弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();          //加载3D场景 //var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; Laya.Scene3D.load("res/LayaScene_terrain/Conventional/terrain.ls",Laya.Handler.cre...

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

959. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 49%]

...from "./GameConfig"; import ui from "./ui/layaMaxUI"; class Main {     constructor(){         //初始化引擎         Laya3D.init(0, 0);         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;        ...

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

960. 天空-天空盒 [ 49%]

...ad("../../res/threeDimen/skyBox/skyBox1/skyCube.ltc");class SkyBoxSample { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Sc...

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