• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,732 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0059 秒)

581. laya.d3.core.render.RenderContext3D_API3.0 [ 69%]

...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

582. 缓动-时间线 [ 69%]

...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

583. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 69%]

...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

584. Sprite-屏幕截图 [ 69%]

...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

585. 鼠标交互-鼠标交互 [ 69%]

...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

586. 3D场景中背景无法透明,版本2.7.1 [ 69%]

...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

587. Label属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 69%]

....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

588. laya.d3.core.particleshuriken.module.GradientVelocity_API3.0 [ 69%]

...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

589. 用JS原生态window.location.href跳转 [ 69%]

...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

590. 本地双击html如何打开laya项目? [ 69%]

...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