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

大约有 2,765 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0074 秒)

501. 灯光-聚光 [ 64%]

...LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode = 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, 1000))); camera.transform.translate(new ...

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

502. U3D场景导不出,出现以下问题。求帮忙导出!!!!! [ 64%]

...ct node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolean ignoreNullChild) LayaExport.DataManager.getGa...

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

503. UI-Clip [ 64%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load([buttonSkin, clipSkin, bgSkin], Handler.create(this, this.onSkinLoaded)); } onSkinLoaded() { this.showBg(); this.createTimerAnimation(); this.s...

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

504. Spine适配版(JavaScript-LayaAir基础篇(JS)-动画基础) [ 64%]

...onstructor() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } private startFun(): void { //创建动画模板 this.templet = new SpineTempletBinary(); this.templet.loadAni(this.aniPath); thi...

来源: Laya2.0_文档 发布时间: 20210715

505. laya.d3.renderobjs.nativeobj.NativeTransform3D_API3.0 [ 63%]

...ionEulerZ localRotationW localRotationX localRotationY localRotationZ localScale localScaleX localScaleY localScaleZ owner position rotation rotationEuler scale worldMatrix worldNeedUpdate Methods event getForward getFrontFaceValue getRight getUp getWorldLossyScale globalToLocal hasListener localToG...

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

506. Sprite-屏幕截图 [ 63%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_FIXED_AUTO; Laya.stage.bgColor = "#232628"; Laya.loader.load(this.btnArr.concat("res/apes/monkey3.png"),Laya.Handler.create(this,this.onLoaded)); } createButton(skin, name, cb, index) { var btn = new L...

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

507. 在微信小游戏中使用list,兼听不到mouseHandler跟selectHandler。 [ 63%]

... Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER;   Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628";   setup(); })();   function setup() { var list = new List();   list.itemRender = Item;   list.repeatX = 1; list.repeatY = 4;   list.x = (Laya.stage.width -...

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

508. laya.display.Sprite [ 63%]

...响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手...

来源: Laya2.0_api 发布时间: 20190513

509. Mesh网格-自定义网格 [ 63%]

...LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode = 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 Lay...

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

510. laya.display.Sprite [ 63%]

...响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手...

来源: laya_api 发布时间: 20170929