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

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

401. 在as里面定义个全局变量,新加进去的JS文件里面是否可以引用这个全局变量? [ 60%]

...量,新加进去的JS文件里面是否可以引用这个全局变量? public class DataSingleton { public static var dxMerchantID:Number = 20000020;//商户id } 我在AS里面定义一个全局变量dxMerchantID,然后我新插入一个游戏js文件,在js文件我该怎么引用到这个dx...

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

402. laya的透视相机有没有“深度”这个属性?类似U3D相机的depth属性 [ 60%]

...请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: public function set renderingOrder(value:int):void   数字小的先画,大的后画 2018-06-25 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 linzhaojie 相关...

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

403. 3d中 缓动往一个点转向并移动的问题 [ 60%]

...      * @param speed 移动速度          */         public setCamera(z: number, speed?: number) {             if (speed === void 0) { speed = 0.3; }             var thiz = this;             //创建一个Tween的属性对像         ...

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

404. laya.device.Shake_API3.0 [ 60%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/Shake" Shake Class Shake Shake只能在支持此操作的设备上有效。 Hierarchy EventDispatcher Shake Index Constructors constructo...

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

405. laya.display.Node [ 60%]

...mes No Frames NodeProperties | Methods | Events Packagelaya.displayClasspublic class NodeInheritanceNode EventDispatcher ObjectSubclasses ComponentNode, Sprite Node 类是可放在显示列表中的所有对象的基类。该显示列表管理 Laya 运行时中显示的所有对象。使用 Node ...

来源: laya_api 发布时间: 20170929

406. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 60%]

...import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Image(); this.addChild(this.img); } public setImg(src: string): void {...

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

407. 多线程worker(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 60%]

...port view.TestView; import laya.net.WorkerLoader; import laya.webgl.WebGL; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400,WebGL); //设置Laya提供的worker.js的路径 WorkerLoader.workerPath = "libs/worker.js"; //开启worker线程 WorkerLoader.e...

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

408. 显示文本组件 · LayaAir3.0文档 · LAYABOX [ 60%]

...ript { //declare owner : Laya.Sprite3D; @property( { type : Laya.Label } ) public lab: Laya.Label; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.lab.pos(Laya.stage.width >> 1, Laya....

来源: Laya3.0_文档 发布时间: 20230629

409. laya.utils.TimeLine_API3.0 [ 60%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/TimeLine" TimeLine Class TimeLine TimeLine 是一个用来创建时间轴动画的类。 Hierarchy EventDispatcher TimeLine Index Properti...

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

410. laya.d3.core.material.PBRMaterial [ 60%]

...terialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class PBRMaterialInheritancePBRMaterial BaseMaterial laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明...

来源: laya_api 发布时间: 20170929