大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...sform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3, 3); this.sceneP.transform.localPosition = new Vector3(100, 100, 100); }); 2018-03-27 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20180327
... 小明同学 有空看看我那个错误 wx.getFileSystemManager is not a function;at requestAnimationFrame callback function TypeError: wx.getFileSystemManager is not a function
来源: Laya_社区 发布时间: 20180725
...; public class SmartScale_Scale_NOBORDER { private var rect:Sprite; public function SmartScale_Scale_NOBORDER() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOBORDER; Laya.stage.bgColor = "#232628"; createCantralRect(); } private function createCantralRect():void { rect = new Sprite(); ...
来源: Laya2.0_示例 发布时间: 20260303
...e; public class SmartScale_Scale_NOSCALE { private var rect:Sprite; public function SmartScale_Scale_NOSCALE() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; createCantralRect(); } private function createCantralRect():void { rect = new Sprite(); re...
来源: Laya2.0_示例 发布时间: 20260303
...rivate var _path:Sprite = new Sprite(); private var arr:Array = []; public function TestView() { super(); _path.pivot(0,0); _path.pos(a.x,a.y); this.addChild(_path); _path.rotation = Math.atan2(b.y - a.y, b.x - a.x) / Math.PI * 180; var len:int = Math.floor(GetPathLen()/PATH_LEN)+2; var p:Image; for...
来源: Laya_社区 发布时间: 20171113
... <script type="text/javascript"> window.onload = function (){ ipmsg(); } function ipmsg() { var ss = remote_ip_info['country'] + remote_ip_info['province']+ remote_ip_info['city']; ...
来源: Laya_社区 发布时间: 20170120
... public class UI_ProgressBar { private var progressBar:ProgressBar; public function UI_ProgressBar() { // 不支持WebGL时自动切换至Canvas //Laya.init(800, 600, WebGL); Laya.init(800, 600); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = S...
来源: Laya2.0_示例 发布时间: 20260303
...aya.stage.addChild(new TabUI()) this.getGold.on(Laya.Event.MOUSE_DOWN,this,function(){ console.log("点击事件") }) // console.log(this.getGold) } } new Main() Laya_Aaron • 2017-12-13 17:09 getGold 哪定义的呢 xdkaka • 2017-12-13 17:17 上面图片截图了,是在UI编辑模式...
来源: Laya_社区 发布时间: 20171213
...e是否开启调试模式。 Constructor DetailShader3D()Constructorpublic function Shader3D(name:String, attributeMap:Object, uniformMap:Object, enableInstancing:Boolean) 创建一个 Shader3D 实例。 Parameters name:String attributeMap:Object uniformMap:Object enableInstancing:BooleanMethod D...
来源: Laya2.0_api 发布时间: 20190513
...aya.Scene3D.load("res/TerrainScene/XunLongShi.ls",Laya.Handler.create(null,function(scene){ //加载完成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; /...
来源: Laya2.0_文档 发布时间: 20210715