大约有 3,008 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...eScaleMode; import flash.events.Event; import flash.net.URLRequest; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); t...
来源: Laya_社区 发布时间: 20151123
...enu Globals "laya/d3/component/Volume/BatchVolume/BatchRender" BatchRender Class BatchRender 类用来描述合批的渲染节点 Hierarchy BaseRender BatchRender StaticInstanceBatchRender StatiVertexMergeBatchRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveSha...
来源: Laya3.0_api 发布时间: 20231115
...() { this.world.step(1 / 60); } 再把CANNON.Body包装成组件 export class CannonRigidbody extends Laya.Script3D { static map: { [key: number]: Laya.Sprite3D } = {}; body: CANNON.Body; t: Laya.Transform3D; public onCollisionCB: (s: Laya.Sprite3D) => void; public ignoreRotate: boolean = fals...
来源: Laya_社区 发布时间: 20200217
API DocumentationAll Packages | All Classes | Index | Frames No Frames Transform3DProperties | Methods Packagelaya.d3.coreClasspublic class Transform3DInheritanceTransform3D EventDispatcher Object Transform3D 类用于实现3D变换。 Public Properties PropertyDefined By localMatrix : ...
来源: Laya2.0_api 发布时间: 20190513
...;& (clipY=1); this._clipX=clipX; this._clipY=clipY; this.skin=url; } __class(LabelAtlas,'laya.customUI.LabelAtlas',_super); var __proto=LabelAtlas.prototype; return LabelAtlas; })(Clip) xml如下: <?xml version="1.0" encoding="utf-8"?> <uiComp> <!-- drag:0-...
来源: Laya_社区 发布时间: 20170206
... flash.events.Event; import flash.net.Socket; public class TestWebSocket extends Sprite { public var s:Socket; public function TestWebSocket() { s = new Socket(); ...
来源: Laya_社区 发布时间: 20160810
...dfirecode/Laya_Mask_Demo 源码 https://github.com/wildfirecod ... le.ts class GameMain{ constructor() { Laya.init(1920,950,Laya.WebGL); Laya.Stat.show(); const container = new Laya.Sprite(); Laya.stage.addChild(container); const mask = new Laya.Sprite(); mask.graphics.drawPoly(0, 0, [0, 0, 484, 0...
来源: Laya_社区 发布时间: 20170915
...ir有bug吗,我的代码是根据教程来写的,现附上代码export class Scene{ // 当前场景的配置信息 private _mLevelConf:LevelConf = null; // 地图文件 private _mTiledMap:TiledMap = null; // 自定义信息文件 private _mLoader:Loader = null; // 当前地图X坐标 private _mV...
来源: Laya_社区 发布时间: 20180529
...[/*] [*] [/*] [*] [/*] [*] [/*] [*] [/*] [/list] [code]export default class DesertUI extends Laya.Scene { constructor() { super(); DesertUI.instance = this; Laya.MouseManager.multiTouchEnabled = false; this.loadScene("Desert.scene"); //初始化舞台 Laya...
来源: Laya_社区 发布时间: 20190321
...,改成下面这样,就可以获取到觖发信息了 export default class PlayerController extends Laya.Script3D 2020-07-29 0 0 分享 微博 QZONE 微信 不懂就问 赞同来自: isKinematic=true,这个为true是没有碰撞检测的 2020-07-29 0 1 分享 微博 QZONE 微信 为什么被...
来源: Laya_社区 发布时间: 20200728