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

大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)

2281. 请教各位前辈们,AS的一些API好像layabox没有,求解决方法或者思路,比如 Point 的interpolate方法 具体问题内详 [ 40%]

...自: @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

2282. UI运行时 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

...t { //用来统一处理ui的事情,比如自适应,缩放所有Button public baseUI(ui: Laya.Scene){ } } 接下来,修改NewScript和ButtonScript都继承自Main,获得Runtime对象,并调用Main的baseUI()方法,传入runtime对象,如下: import { Main } from "./Main"; import { Ru...

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

2283. laya.physics.RigidBody_API3.0 [ 40%]

...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

2284. 其他引擎的Demo-Example_23 [ 39%]

... tick += 1; } } } import laya.display.Sprite; class Laser extends Sprite { public var life:int; }

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

2285. laya.d3.physicscannon.CannonRigidbody3D_API3.0 [ 39%]

...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

2286. laya.maths.Vector3_API3.0 [ 39%]

...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

2287. laya.resource.VideoTexture_API3.0 [ 39%]

...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

2288. Tween 缓动过程有触发回调函数么 [ 39%]

...结束之后自动回收到对象池。 * @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

2289. 导航标签组组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...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

2290. laya.d3.component.hlod.HLODRender_API3.0 [ 39%]

...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