大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...自: @cuixueying 感谢你上面做的回答 现在遇到以下的问题 public function drawImage(target:Sprite,srcbmd:Image, mx:Matrix, p1:Point, p2:Point, p3:Point, p4:Point):void { var texture:Texture = Laya.loader.getRes(srcbmd.skin); targ...
来源: Laya_社区 发布时间: 20160627
...t { //用来统一处理ui的事情,比如自适应,缩放所有Button public baseUI(ui: Laya.Scene){ } } 接下来,修改NewScript和ButtonScript都继承自Main,获得Runtime对象,并调用Main的baseUI()方法,传入runtime对象,如下: import { Main } from "./Main"; import { Ru...
来源: Laya3.0_文档 发布时间: 20251010
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/RigidBody" RigidBody Class RigidBody 2D刚体,显示对象通过RigidBody和物理世界进行绑定,保持物理和显示对象之...
来源: Laya3.0_api 发布时间: 20231115
... tick += 1; } } } import laya.display.Sprite; class Laser extends Sprite { public var life:int; }
来源: Laya_示例 发布时间: 20260106
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physicsCannon/CannonRigidbody3D" CannonRigidbody3D Class CannonRigidbody3D Rigidbody3D 类用于创建刚体碰撞器。 Hierarchy CannonPhys...
来源: Laya3.0_api 发布时间: 20231102
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector3" Vector3 Class Vector3 Vector3 类用于创建三维向量。 Hierarchy Vector3 Implements IClone Index Constructors constructor P...
来源: Laya3.0_api 发布时间: 20231115
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/VideoTexture" VideoTexture Class VideoTexture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constr...
来源: Laya3.0_api 发布时间: 20231102
...结束之后自动回收到对象池。 * @return 返回Tween对象。 */ public static function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false, autoRecover:Boolean = true):Tween { return Pool.getItemByClass("tween",...
来源: Laya_社区 发布时间: 20180109
...export class NewScript extends Laya.Script { @property({ type: Laya.Tab }) public tab: Laya.Tab; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.tab.pos(200, 200); this.tab.labelBold = true; this.tab.labelSize = 20; this.ta...
来源: Laya3.0_文档 发布时间: 20251010
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/HLOD/HLODRender" HLODRender Class HLODRender Hierarchy BaseRender HLODRender Implements IBoundsCell Index Constructors constructor ...
来源: Laya3.0_api 发布时间: 20231115