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

大约有 1,162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)

261. laya.d3.core.glitter.SplineCurvePosition [ 77%]

...vePositionVelocityConstructor DetailSplineCurvePosition()Constructorpublic function SplineCurvePosition() 创建一个 SplineCurvePosition 实例。 Method DetailInit()methodoverride public function Init(lastPosition0:Vector3, position0:Vector3, lastPosition1:Vector3, position1:Vector3):void 初始...

来源: laya_api 发布时间: 20170929

262. 其他引擎的Demo-Example_04 [ 77%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Text = Laya.Text; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var starCount = 2500; var sx = 1.0 + (Math.random() / 20); var sy = 1.0 + (Math.random() / 20); var stars = []; ...

来源: Laya_示例 发布时间: 20261113

263. socket与node服务端连不上?按照官方案例 [ 77%]

...this, closeHandler); this.socket.on(Laya.Event.ERROR, this, errorHandler); function openHandler(event){ //正确建立连接; console.log("链接"); } function receiveHandler(msg){ ///接收到数据触发函数 console.log("接受"); } function closeHandler(e){ //关闭事件 console.log("关闭"...

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

264. 照相机-正交相机 [ 77%]

...onkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { layaMonkey.transform.localScale = new Laya.Vector3(3, 3, 3); //转换2D屏幕坐标系统到3D正交投影下的坐标系统 camera.convertScreenCoordToOrthographicCoord(pos, _translate); layaMonkey.transform.po...

来源: Laya_示例 发布时间: 20261113

265. mac 下翻译出来的顺序问题 [ 77%]

...来的顺序问题 //class laya.webgl.canvas.save.SaveBase var SaveBase=(function(){ function SaveBase(){ //this._valueName=null; //this._value=null; //this._dataObj=null; //this._newSubmit=false; } __class(SaveBase,'laya.webgl.canvas.save.SaveBase'); var __proto=SaveBase.prototype; Laya.imps(__prot...

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

266. Sprite-旋转缩放 [ 77%]

...dScale { private var ape:Sprite; private var scaleDelta:Number = 0; public function Sprite_RoateAndScale() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.sta...

来源: Laya2.0_示例 发布时间: 20261113

267. 滤镜-模糊滤镜 [ 77%]

...Blur { private const apePath:String = "../../res/apes/monkey2.png"; public function Filters_Blur() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scale...

来源: Laya2.0_示例 发布时间: 20261113

268. Laya3D_API3.0 [ 77%]

...ya3D enablePhysics createRenderObjInit init Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method

来源: Laya3.0_api 发布时间: 20231115

269. Laya.loader.load 教程代码出错 [ 77%]

...mg:Sprite ;         private var index:int ;         public function LayaSample() {             //初始化引擎             Laya.init(600, 300);                          img = new Sprite();             var arr:Array = []; ...

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

270. 区块地图-PerspectiveWall [ 77%]

...lic class TiledMap_PerspectiveWall { private var tiledMap:TiledMap; public function TiledMap_PerspectiveWall() { // 不支持WebGL时自动切换至Canvas Laya.init(700, 500, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.bgColor = "#232628"; creat...

来源: Laya2.0_示例 发布时间: 20261113