大约有 1,288 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0056 秒)
Laya2.0_api(368) laya_api(298) Laya_社区(266) Laya_示例(145) Laya2.0_示例(111) Laya2.0_文档(68) Laya3.0_api(23) Laya3.0_文档(9)
...识达人 赞同来自: 手动调一下对应的事件即可。例如: package { import laya.events.Event; public class Main { public function Main() { //初始化引擎 Laya.init(600,400); //手动调stage的click事件 this.onClick(); //给stage监听点击事件 Laya.stage.on(Event.CLICK,this,o...
来源: Laya_社区 发布时间: 20170607
...idth, Laya.stage.height), null); } } } new laya.TiledMap_PerspectiveWall();package { import laya.display.Stage; import laya.map.TiledMap; import laya.maths.Rectangle; import laya.utils.Browser; import laya.webgl.WebGL; public class TiledMap_PerspectiveWall { private var tiledMap:TiledMap; public fun...
来源: Laya_示例 发布时间: 20260819
...log.pos(165, 62.5); Laya.stage.addChild(dialog); } } } new laya.UI_Image();package { import laya.display.Stage; import laya.ui.Image; import laya.webgl.WebGL; public class UI_Image { public function UI_Image() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV ...
来源: Laya2.0_示例 发布时间: 20260819
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxShapeProperties | Methods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class BoxShapeInheritanceBoxShape BaseShape Object BoxShape 类用于创建球形粒子形状。 Public Properties Hide Inherited ...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames HeightMapProperties | Methods Packagelaya.d3.coreClasspublic class HeightMapInheritanceHeightMap Object HeightMap 类用于实现高度图数据。 Public Properties PropertyDefined By height : int[read-only] 获取...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames Vector2Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Vector2InheritanceVector2 ObjectImplements laya.d3.core.IClone Vector2 类用于创建二维向量。 Public Properties PropertyDefined By ...
来源: laya_api 发布时间: 20170929
... cuixueying 赞同来自: 详细代码如下,具体demo已上传附件 package { import laya.display.Sprite; public class CurveDemo { private var ball:Sprite; private var xflag:Boolean; private var v:uint=2; private var d:uint=150; public function CurveDemo() { Laya.init(800,400); ball=new Sprite...
来源: Laya_社区 发布时间: 20160424
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxShapeProperties | Methods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class BoxShapeInheritanceBoxShape BaseShape Object BoxShape 类用于创建球形粒子形状。 Public Properties Hide Inherited ...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames HeightMapProperties | Methods Packagelaya.d3.coreClasspublic class HeightMapInheritanceHeightMap Object HeightMap 类用于实现高度图数据。 Public Properties PropertyDefined By height : int[read-only] 获取...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames TileTexSetProperties | Methods Packagelaya.mapClasspublic class TileTexSetInheritanceTileTexSet Object 此类是子纹理类,也包括同类动画的管理 TiledMap会把纹理分割成无数子纹理,也可以把其...
来源: laya_api 发布时间: 20170929