大约有 2,771 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0069 秒)
Laya_社区(2231) Laya2.0_示例(116) Laya_示例(97) Laya3.0_api(93) Laya2.0_api(79) laya_api(68) Laya2.0_文档(68) Laya3.0_文档(19)
... Laya.init(Laya.Browser.width, Laya.Browser.height,Laya.WebGL); Laya.stage.scaleMode = Laya.Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Laya.Stat.show(); this.startFun(); } private startFun(): void { //创建动画模板 this.templet = Laya.SpineTempletBinary(); this.templet.loadAni(this.an...
来源: Laya2.0_文档 发布时间: 20210715
..._MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = "#232628"; this.createBridge(); this.eventListener(); } createBridge() { const startPosX = 250, startPosY = 450; let ground = new Laya.Sprite(); Laya.Laya.sta...
来源: Laya2.0_示例 发布时间: 20241125
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createText(); })(); function createText() { txt = new Text(); txt.overflow = Text.SCROLL; txt.text = "Layabox是HTML5引擎技术提供商与优秀的游戏发...
来源: Laya_示例 发布时间: 20241125
...ction Main() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } private function startFun(): void { this.templet = new SpineTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on...
来源: Laya2.0_文档 发布时间: 20210715
...get; var isRotate = true; (function() { Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; scene = Laya.stage.addChild(new Laya.Scene()); scene.shadingMode = Laya.BaseScene.VERTEX_SHADING; Laya.stage.addChild(new MousePickingScene())...
来源: Laya_社区 发布时间: 20170323
...ext fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): GraphicsAni Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns GraphicsAni Accessors cmds get cmd...
来源: Laya3.0_api 发布时间: 20231115
...delta : int[read-only] 两帧之间的时间间隔,单位毫秒。Timer scale : Number = 1 时针缩放。TimerPublic Methods MethodDefined By Timer(autoActive:Boolean = true) 创建 Timer 类的一个实例。 Timer callLater(caller:*, method:Function, args:Array = null):void 延迟执...
来源: Laya2.0_api 发布时间: 20190513
...UPZ Accessors localOffset localRotation sizeX sizeY sizeZ type Methods _setScale clone cloneTo destroy updateLocalTransformations Constructors constructor new CannonBoxColliderShape(sizeX?: number, sizeY?: number, sizeZ?: number): CannonBoxColliderShape Overrides CannonColliderShape.constructor Defi...
来源: Laya3.0_api 发布时间: 20231102
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createText(); } createText() { const Text = Laya.Text, Event = Laya.Event; this.txt = new Text(); Laya.stage.addChild(this.txt); this.txt.overflow = Text.S...
来源: Laya2.0_示例 发布时间: 20241125
... SHAPEORIENTATION_UPZ Accessors localOffset localRotation type Methods _setScale addChildShape bindRigidBody clone cloneTo destroy getChildShapeCount removeChildShape updateLocalTransformations Constructors constructor new CannonCompoundColliderShape(): CannonCompoundColliderShape Overrides CannonCo...
来源: Laya3.0_api 发布时间: 20231102