大约有 722 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0048 秒)
Laya_社区(259) Laya2.0_api(166) laya_api(138) Laya_示例(61) Laya2.0_示例(53) Laya2.0_文档(28) Laya3.0_api(9) Laya3.0_文档(8)
... Event.ERROR 事件。 SocketPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Socket(host:String = null, port:int = 0, byteClass:Class = null) 创建新的 Socket 对象。默认字节序为 Socket.BIG_ENDIAN 。若未指定参数,将创建一个最...
来源: laya_api 发布时间: 20170929
... Event.ERROR 事件。 SocketPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Socket(host:String = null, port:int = 0, byteClass:Class = null, protocols:Array = null) 创建新的 Socket 对象。默认字节序为 Socket.BIG_ENDIAN 。若未指定参...
来源: Laya2.0_api 发布时间: 20190513
...否需要更新。 Transform3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Transform3D(owner:Sprite3D) 创建一个 Transform3D 实例。 Transform3D event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getForward(forward:Ve...
来源: Laya2.0_api 发布时间: 20190513
...tage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this.ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); this.point = new Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(...
来源: Laya_示例 发布时间: 20241125
...tage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //加载场景人物腳色 Laya.Scene3D.load( "res/build5/SampleScene.ls", Laya.Handler.create(this, this.onComplete) ); //射线初始化(必须初始化) this._ray = new Laya.Ray( new Laya.Vector3(0, 0, 0), new ...
来源: Laya_社区 发布时间: 20200917
...Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.createInteractiveTarget(); this.createLogger(); } createInteractiveTarget() { const Event = Laya.Event, Sprite = Laya.Sprite; let rect = new...
来源: Laya2.0_示例 发布时间: 20241125
...认重试一次LoaderManagerPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By LoaderManager() 创建一个新的 LoaderManager 实例。 注意:请使用Laya.loader加载资源,这是一个单例,不要手动实例化此类,否则会导致不可...
来源: Laya2.0_api 发布时间: 20190513
...又达到高性能。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默...
来源: Laya2.0_api 发布时间: 20190513
...又达到高性能。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽...
来源: laya_api 发布时间: 20170929
...ad-only] 加载地址。LoaderPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By cacheRes(url:String, data:*):void[static] 缓存资源。 Loader clearRes(url:String):void[static] 清理指定资源地址的缓存。 Loader clearResByGroup(group:Str...
来源: Laya2.0_api 发布时间: 20190513