大约有 1,732 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0059 秒)
Laya_社区(615) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya2.0_api(67) laya_api(64) Laya3.0_文档(62)
...xported Menu Globals "laya/d3/core/render/RenderContext3D" RenderContext3D Class RenderContext3D RenderContext3D 类用于实现渲染状态。 Hierarchy RenderContext3D Index Constructors constructor Properties configPipeLineMode clientHeight clientWidth Accessors cameraShaderValue Methods changeSc...
来源: Laya3.0_api 发布时间: 20231115
...yboard; import TimeLine = Laya.TimeLine; import WebGL = Laya.WebGL; export class Tween_TimeLine { private target:Sprite; private timeLine:TimeLine = new TimeLine(); constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stag...
来源: Laya_示例 发布时间: 20241002
...DIE = "floor_out_die"; //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _proto = Floor.prototype; /** * type int 1->地板默认宽度 other->随机宽度 */ _proto.init = function(type){ this.maxRight = 0; //如果不开启autoSize 父容器...
来源: Laya_社区 发布时间: 20160801
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_ScreenShot { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; this.btnArr = ["res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png"]; t...
来源: Laya2.0_示例 发布时间: 20241002
...peScript三种开发语言、LayaAirIDE让项目开发更高效。let txt; class Interaction_Mouse { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth...
来源: Laya2.0_示例 发布时间: 20241002
...2.7.1 版本为2.7.1,无法背景透明,永远是黑色 export default class GameUI extends Laya.Scene { constructor() { super(); Config.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = null; //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya....
来源: Laya_社区 发布时间: 20201021
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Label)。 Label 组件的资源示例: ![图片0.png](img/1.png) (图1) Label组件拖放到编辑区后,设置 text 属性的值为 LayaAir IDE 后的显示效果如下: ![图片0....
来源: Laya2.0_文档 发布时间: 20210715
...s "laya/d3/core/particleShuriKen/module/GradientVelocity" GradientVelocity Class GradientVelocity GradientVelocity 类用于创建渐变速度。 Hierarchy GradientVelocity Implements IClone Index Constructors constructor Accessors constant constantMax constantMin gradientX gradientXMax gradientXMin...
来源: Laya3.0_api 发布时间: 20231115
...isplay.Sprite; import laya.events.Event; import laya.utils.Browser; public class LayaAirTest { public function LayaAirTest() { Laya.init(550,400); var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FFFF00"); Laya.stage.addChild(sp); sp.size(1000,100); sp.on(Event.CLICK,this,onClick); } p...
来源: Laya_社区 发布时间: 20161215
...webview加载的本地html5,webview的官网api有这样一句话:This class is the basis upon which you can roll your own web browser or simply display some online content within your Activity. It uses the WebKit rendering engine to display web pages 。原来webview也相当于一个浏览器...
来源: Laya_社区 发布时间: 20160104