大约有 1,100 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0074 秒)
Laya_社区(730) Laya3.0_api(83) Laya2.0_api(71) laya_api(66) Laya_示例(41) Laya2.0_示例(39) Laya2.0_文档(36) Laya3.0_文档(34)
...eChildren?: boolean): Box Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns Box Properties Optional _extra _extra: INodeExtra Inherited from N...
来源: Laya3.0_api 发布时间: 20231115
...dren?: boolean): ScaleBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited f...
来源: Laya3.0_api 发布时间: 20231115
... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite Video Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanv...
来源: Laya3.0_api 发布时间: 20231102
...抠图透明区域为黑色,其它机型都是正常的。 如何设置Sprite的宽高和点击区域? 救命!canvas定位后 点击区域偏移,求大大们解答 ui list 里面的元素不能点击两次 求指点3d射线碰撞和UI点击穿透的问题 【带附件】 使用Laya2.0.0beta5...
来源: Laya_社区 发布时间: 20190703
... public view: UIMain; /** 角色 */ private character: Laya.Sprite /** 角色刚体*/ private rig: Laya.RigidBody /** 医疗包*/ private addhp: Laya.Sprite /** 速度包*/ private addseed: Laya.Sprite /** 跳跃高度包*/ private addHi...
来源: Laya_社区 发布时间: 20221207
...,含透明度,可见游戏背景 mask.cacheAs = "bitmap"; var maskArea:Sprite = new Sprite(); maskArea.alpha = 0; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); maskArea.setName("maskArea") mask.addChild(maskArea); //绘制一个圆形区域,利用叠加...
来源: Laya_社区 发布时间: 20221010
...Packagelaya.uiClasspublic class VSliderInheritanceVSlider Slider Component Sprite Node EventDispatcher Object 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 VSlider 控件采用垂直方向。滑块轨道从下往上扩展,而标签位于轨道...
来源: laya_api 发布时间: 20170929
...BG.jpg"); Laya.stage.frameLoop(1, this, this.animate); } animate() { const Sprite = Laya.Sprite, Point = Laya.Point; let laser; if (tick > frequency) { tick = 0; // iterate through the dudes and update the positions laser = new Sprite(); laser.loadImage("res/pixi/laser0" + ((type % 5) + 1) + ".png")...
来源: Laya2.0_示例 发布时间: 20251130
... Events Packagelaya.uiClasspublic class ViewInheritanceView Box Component Sprite Node EventDispatcher ObjectSubclasses Dialog View 是一个视图类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默...
来源: laya_api 发布时间: 20170929
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Rectangle = Laya.Rectangle; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var ApePath = ".....
来源: Laya_示例 发布时间: 20251130