大约有 1,732 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0057 秒)
Laya_社区(615) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya2.0_api(67) laya_api(64) Laya3.0_文档(62)
...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
...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
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
...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
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
...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
...ternals Only exported Menu Globals "laya/events/MouseManager" MouseManager Class MouseManager MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶段、冒泡阶段。 捕获阶段:此阶段引擎会从stage开始递归检测stage及其子对象,直到...
来源: Laya3.0_api 发布时间: 20231102
... 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
...= 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
... 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