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

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

751. HTMLIframeElement加载html网页的问题 [ 54%]

...MLIframeElement = Laya.HTMLIframeElement; class TestUI extends ui.htmlUI { constructor() { super(); var iHtml: HTMLIframeElement = new HTMLIframeElement(); Laya.stage.addChild(iHtml); iHtml.href = "https://www.baidu.com/"; } } // 程序入口 Laya.init(600, 400); Laya.loader.load([{ url: "res/atlas/...

来源: Laya_社区 发布时间: 20171011

752. 小白请教 为什么我的ts文件里的Laya显示找不到名称“Laya” [ 54%]

...的链接 提交 1 个回复 bpmf_d 赞同来自: class test_HelloLaya { constructor() { //创建舞台,默认背景色是黑色的 Laya.init(1280, 720); var txt = new Laya.Text(); //设置文本内容 txt.text = "Hello Layabox"; //设置文本颜色为白色,默认颜色为黑色 txt.color = "#...

来源: Laya_社区 发布时间: 20190519

753. 网格像素线 · LayaAir3.3 · 引擎文档 · LAYABOX [ 54%]

...例。 * @param maxCount 最大线段数量。 * @param name 名字。 */ constructor(maxCount: number = 2, name: string = null) { super(name); this._render = this.addComponent(PixelLineRenderer); this._geometryFilter = (this._render as PixelLineRenderer)._pixelLineFilter; (this._render as PixelLine...

来源: Laya3.0_文档 发布时间: 20250103

754. laya.d3.core.particleShuriKen.module.TextureSheetAnimation [ 54%]

...typeproperty public var type:int类型,0为whole sheet、1为singal row。Constructor DetailTextureSheetAnimation()Constructorpublic function TextureSheetAnimation(frame:FrameOverTime, startFrame:StartFrame) 创建一个 TextureSheetAnimation 实例。 Parameters frame:FrameOverTime — 动画帧...

来源: laya_api 发布时间: 20170929

755. 设置pivot后,精灵位置显示位置不正确 [ 54%]

...位置不正确 // 程序入口 class GameMain { private sp: Laya.Sprite; constructor() { Laya.init(2000, 1500); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" this.sp = new Laya.Sprite(); let width = 660 let height = 420 this.sp.size(width, height) this.sp.pivot(Math.round(width / 2), Math....

来源: Laya_社区 发布时间: 20171230

756. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 54%]

...外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailSphereShape()Constructorpublic function SphereShape() 创建一个 SphereShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void Parameters b...

来源: laya_api 发布时间: 20170929

757. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 54%]

...外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailSphereShape()Constructorpublic function SphereShape() 创建一个 SphereShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void Parameters b...

来源: Laya2.0_api 发布时间: 20190513

758. 弹出提示的对话框用什么来做?(其中有确定和取消选项) [ 54%]

...装包或网络 new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor 问题状态 最新活动: 2017-02-02 01:50 浏览: 1772 关注: 2 人 jason18380447822 • 2016-09-01 15:52 @cuixueying:谢谢。

来源: Laya_社区 发布时间: 20160901

759. laya.d3.core.particleShuriKen.module.shape.HemisphereShape [ 54%]

...外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailHemisphereShape()Constructorpublic function HemisphereShape() 创建一个 HemisphereShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void ...

来源: laya_api 发布时间: 20170929

760. laya.d3.core.particleShuriKen.module.shape.HemisphereShape [ 54%]

...外壳发射。radiusproperty public var radius:Number发射器半径。Constructor DetailHemisphereShape()Constructorpublic function HemisphereShape() 创建一个 HemisphereShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void ...

来源: Laya2.0_api 发布时间: 20190513