大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeIndexBuffer3D" NativeIndexBuffer3D Class NativeIndexBuffer3D Hierarchy IndexBuffer3D NativeIndexBuffer3D Index Con...
来源: Laya3.0_api 发布时间: 20231115
...ce.ts, 内容为module Library{ export class ToolService{ constructor(){ } public static sum(a:number, b:number):number { return a + b; } } } 一个是 src/Library/UserService.ts, 内容为module Library{ export class UserService{ constructor(){ } public multiple(a:number, b:number):number { retu...
来源: Laya_社区 发布时间: 20181214
...rt laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Interaction_Drag { private const ApePath:String = "../../res/apes/monkey2.png"; private var ape:Sprite; private var dragRegion:Rectangle; public function Interaction_Drag() { // 不支持WebGL时自动切换至Ca...
来源: Laya2.0_示例 发布时间: 20260106
tiledMap tileSetId是什么 getTileProperties () method public function getTileProperties(index:int, id:int, name:String):* 得到tile自定义属性 Parameters index:int — 地图块索引 id:int — 具体的TileSetID name:String — 属性名称 这个api怎么用?tileSetId是什么 2018-01-2...
来源: Laya_社区 发布时间: 20180129
...aya.display.Stage; import laya.utils.Stat; import common.CameraMoveScript; public class MultiCamera { public function MultiCamera() { Laya3D.init(0, 0,true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.stage.addChild(new Sce...
来源: Laya_示例 发布时间: 20260106
...ya_Aaron 赞同来自: 1.0还是2.0 2d 还是3d ,2.0 3d 是重写 public function onStateEnter():void { } 动画事件方法 2019-04-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 .Yang 相关...
来源: Laya_社区 发布时间: 20181121
...@param ...args 无数子节点。 */ public function addChildren(... args):void { var i:int = 0, n:int = args.length; while (i < n) { addChild(args[i++]); ...
来源: Laya_社区 发布时间: 20180810
...i.Wawaji; /** * ... * @author zzz */ public class WWJ_Main { private const stageWidth:int = 540; private const stageHeight:int = 960; private var Matter:Object = Browser.window.Matter; ...
来源: Laya_社区 发布时间: 20170822
...; import laya.net.Socket; import laya.utils.Byte; import laya.webgl.WebGL; public class Game { private var socket:Socket; private var byte:Byte; public function Game() { //初始化引擎 Laya.init(600, 400,WebGL);// this.byte = new Byte(); this.byte.endian = Byte.LITTLE_ENDIAN;//这里我们采用...
来源: Laya2.0_文档 发布时间: 20210715
...示获取旋转方位信息: ```typescript private var info:Text; public function Gyroscope_Sample() { Laya.init(550, 400); info = new Text(); info.fontSize = 50; info.color = "#FFFFFF"; info.size(Laya.stage.width, Laya.stage.height); Laya.stage.addChild(info); ...
来源: Laya2.0_文档 发布时间: 20210714