大约有 3,975 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0090 秒)
Laya_社区(2827) Laya2.0_文档(369) Laya2.0_api(225) laya_api(169) Laya_示例(157) Laya2.0_示例(117) Laya3.0_api(62) Laya3.0_文档(49)
...e = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); //初始化照相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 1, 3)); camera.clearColor = null; Laya.loader.c...
来源: Laya_示例 发布时间: 20241117
...rt laya.webgl.WebGL; public class Physics_Physics_CollisionEvent { private var count: Number = 7; private var sensorCollider: CircleCollider; private var bodys: Array = []; private var touching: Array = []; public function Physics_CollisionEvent() { Laya.Config.isAntialias = true; Laya.init(1200, 70...
来源: Laya2.0_示例 发布时间: 20241117
... this._material._shaderValues._defineDatas.cloneTo(comDef); var shader = context.shader = this._material._shader.getSubShaderAt(0)._passes[0].withCompile(comDef); ... } Laya.ShaderPass -> withCompile(compileDefine) { if (Shader3D.debugMode)//开启debug...
来源: Laya_社区 发布时间: 20200606
...e = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); //初始化照相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector...
来源: Laya_示例 发布时间: 20241117
...public function get aliveParticleCount():intautoRandomSeedproperty public var autoRandomSeed:Boolean是否使用随机种子。 colorOverLifetimeproperty colorOverLifetime:ColorOverLifetime 获取生命周期颜色,注意:如修改该值的某些属性,需重新赋值此属性才可生效。 Imple...
来源: Laya2.0_api 发布时间: 20190513
...nfo; public class LayaSample { private var m_bkSound:Sound; private var m_mapLayer:Sprite; private var m_MapImgUrl:String; private var m_Role:Animation; private var m_RolePosition:Point = new Point(1200,1000)...
来源: Laya_社区 发布时间: 20170921
...ipt三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var logger, keyDownList; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clie...
来源: Laya_示例 发布时间: 20241117
...ipt三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Event = Laya.Event; var Socket = Laya.Socket; var Byte = Laya.Byte; var socket; var output; (function() { Laya.init(550, 400); connect(); })(); function connect() { socket = new Socket(); //socket.connect("echo.websocket....
来源: Laya_示例 发布时间: 20241117
...t;br/>或者 标签崩溃问题 解决方法 HTMLElemen类中 var words = this._getWords(); if (words == null && (!this._children || this._children.length == 0)) return false; if (words) { for (v...
来源: Laya_社区 发布时间: 20200724
...ipt三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(B...
来源: Laya_示例 发布时间: 20241117