大约有 843 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0077 秒)
Laya_社区(526) Laya3.0_api(65) Laya2.0_api(62) laya_api(57) Laya2.0_示例(44) Laya_示例(41) Laya2.0_文档(30) Laya3.0_文档(18)
... // 绘制遮罩区,含透明度,可见游戏背景 var maskArea: Laya.Sprite = new Laya.Sprite(); maskArea.alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); maskArea.mouseThrough = false; Laya.stage.addChild(maskArea); 2018-09-11 添加评论 免费...
来源: Laya_社区 发布时间: 20180911
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...ya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL; var scene = new Laya.Sprite(); scene.width = Laya.stage.width; scene.height = Laya.stage.height; scene.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#3e3534"); Laya.stage.addChild(scene); var inputText = new Laya.Input(); inputT...
来源: Laya_社区 发布时间: 20200223
...| Events Packagelaya.uiClasspublic class ClipInheritanceClip UIComponent Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖...
来源: Laya2.0_api 发布时间: 20190513
...onstants Packagelaya.d3.core.sceneClasspublic class SceneInheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...
来源: laya_api 发布时间: 20170929
...而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。</p> * <p>影响对象鼠标事件响应区域的属性...
来源: Laya_社区 发布时间: 20180426
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...微博 QZONE 微信 cuixueying 赞同来自: package { import laya.display.Sprite; import laya.utils.Browser; import laya.webgl.WebGL; public class HelloLaya { public function HelloLaya() { Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.bgColor="#eeffcc"; var sp:Sprite=new Sprite(); sp.g...
来源: Laya_社区 发布时间: 20170830
...DDLE; createCantralRect(); })(); function createCantralRect() { rect = new Sprite(); rect.graphics.drawRect(-100, -100, 200, 200, "gray"); Laya.stage.addChild(rect); var rect1 = new Sprite(); rect1.graphics.drawRect(Laya.stage.width / 3 * 2 , Laya.stage.height / 3 * 2 - 65, 100, 100, "blue"); // rec...
来源: Laya_社区 发布时间: 20170206
...entationAll Packages | All Classes | Index | Frames No Frames TileAniSpriteProperties | Methods | Events Packagelaya.mapClasspublic class TileAniSpriteInheritanceTileAniSprite Sprite Node EventDispatcher Object TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个...
来源: laya_api 发布时间: 20170929