大约有 7,303 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0239 秒)
Laya_社区(6350) Laya3.0_api(281) Laya2.0_文档(230) Laya2.0_api(177) laya_api(145) Laya3.0_文档(111) Laya2.0_示例(5) Laya_示例(4)
...rom Node.destroyed Defined in laya/display/Node.ts:91 是否已经销毁。对象销毁后不能再使用。 Returns boolean displayedInStage get displayedInStage(): boolean Inherited from Node.displayedInStage Defined in laya/display/Node.ts:473 表示是否在显示列表中显示。 Returns boole...
来源: Laya3.0_api 发布时间: 20231102
...否激活。 Node destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Boolean[read-only] 获取是否为静...
来源: Laya2.0_api 发布时间: 20190513
... EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, on...
来源: laya_api 发布时间: 20170929
...果如下, 伪代码: realX=摇杆X轴移动方向*速度 + skeleton对象的x轴坐标 realY=摇杆Y轴移动方向*速度 + skeleton对象的y轴坐标 Laya.stage.hitTestPoint(realX, realY)判断skeleton对象是否在边界内 以上的考虑 均是在 skeleton的x和y属性在 ...
来源: Laya_社区 发布时间: 20180725
...l : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷贝实例材质列表,第一次使用会拷贝实例对象。 BaseRender mesh : Mesh 获取网格渲染模式所使用的Mesh,rendderMode为4时生...
来源: Laya2.0_api 发布时间: 20190513
...[static] 根据指定资源和坐标、宽高、偏移量等创建 Texture 对象。 Texture createFromTexture(texture:Texture, x:Number, y:Number, width:Number, height:Number):Texture[static] 截取Texture的一部分区域,生成新的Texture,如果两个区域没有相交,则返回null...
来源: laya_api 发布时间: 20170929
...stener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 off off(type: string,...
来源: Laya3.0_api 发布时间: 20231115
...shTerrainSprite3D destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Boolean[read-only] 获取是否为静...
来源: Laya2.0_api 发布时间: 20190513
timeline timeline 只能对同一个对象做时间线动画吗? 发现对不同对象做动画会出问题?var timeline:TimeLine = new TimeLine(); timeline.addLabel("ymove", 0).to(aa, { y:img_tipOver["ey"] }, 500, Ease.cubicInOut) .addLabel("wait",0).to(aa,{},2000) .addLabel("alphas", 0).to(aa...
来源: Laya_社区 发布时间: 20170308
...nts Packagelaya.mathsClasspublic class PointInheritancePoint Object Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Public Properties PropertyDefined By x : Number该点的水平坐标。Point y : Number该点的垂直坐标。PointPub...
来源: laya_api 发布时间: 20170929