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

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

601. 请问这是原因? [ 68%]

...s.Browser; import laya.webgl.WebGL; import laya.wx.mini.MiniAdpter; public class LayaSample { public var sprite:Sprite = new Sprite(); public function LayaSample() { //初始化引擎 MiniAdpter.init(); Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor...

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

602. laya.maths.Vector4_API3.0 [ 68%]

...nherited Externals Only exported Menu Globals "laya/maths/Vector4" Vector4 Class Vector4 Vector4 类用于创建四维向量。 Hierarchy Vector4 Implements IClone Index Constructors constructor Properties w x y z ONE UnitW UnitX UnitY UnitZ ZERO Methods clone cloneTo equal forNativeElement fromArra...

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

603. laya.d3.core.particleShuriKen.module.GradientColor [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientColorProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientColorInheritanceGradientColor ObjectImplements laya.d3.core.IClone GradientColor 类用于创建渐变颜色。 Publi...

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

604. 跟着老师打地鼠游戏写的代码,JS为什么会出错 [ 68%]

...on Game(){ Game.super(this); this.mole=new Mole() //这里会报错 } Laya.class(Game,"Game",_super); return Game; })(ui.GameUI) var GameUI=(function(_super){ function GameUI(){ this.btn_start=null; this.audio=null; GameUI.__super.call(this); } CLASS$(GameUI,'ui.GameUI',_super); var __proto__=GameUI...

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

605. laya.d3.core.particleShuriKen.module.GradientColor [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientColorProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientColorInheritanceGradientColor ObjectImplements laya.d3.core.IClone GradientColor 类用于创建渐变颜色。 Publi...

来源: laya_api 发布时间: 20170929

606. 请问UI之间的场景切换要怎么写 [ 68%]

...s.btn_wxsign.on(Laya.Event.CLICK,this,this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundManager.playMusic('res/sound/sign_bgm.mp3',0); } _proto.onWxSign = function(e){ onWxSign1(); } return sg_sign; })(ui.sg_sig...

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

607. laya.events.MouseManager_API3.0 [ 68%]

...ternals Only exported Menu Globals "laya/events/MouseManager" MouseManager Class MouseManager MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶段、冒泡阶段。 捕获阶段:此阶段引擎会从stage开始递归检测stage及其子对象,直到...

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

608. laya.d3.core.render.command.BlitScreenQuadCMD_API3.0 [ 68%]

... Globals "laya/d3/core/render/command/BlitScreenQuadCMD" BlitScreenQuadCMD Class BlitScreenQuadCMD Hierarchy Command BlitScreenQuadCMD Index Constructors constructor Accessors shaderData Methods destroy recover run setContext setshader create Constructors constructor new BlitScreenQuadCMD(): BlitScr...

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

609. 高级应用-渲染纹理 [ 68%]

...= 0; i < spirit3D._childs.length; i++) setMaterials(spirit3D._childs[i]); }class RenderTextureDemo { private scene: Laya.Scene; private renderTargetCamera: Laya.Camera; private layaPlane: Laya.Sprite3D; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage...

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

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

... import GameConfig 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_NO...

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