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

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

2841. 抖音小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

... Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 La...

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

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

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.List)。 ### 1.1 创建 List 组件 #### 1.编辑列表项。 ​ 列表项可以是 Box 对象或 View(页面) 或其它自定义页面对象。此处以Box 对象为例。 ​ **a.**从...

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

2843. laya.d3.component.volume.batchvolume.BatchRender_API3.0 [ 37%]

...hangeVertexDefine shaderValueInit tempVec tempVec1 Legend Class Class with type parameter Constructor Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface

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

2844. laya.ui.AutoBitmap [ 37%]

...ture(tex:Texture, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):void 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graph...

来源: laya_api 发布时间: 20170929

2845. 控制器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...后显示下图: (图2-4) Enabled 是否使用动画效果。 Ease Type 时间/速度曲线。 Duration 整个缓动过程持续的时间。单位毫秒。 Delay 控制器页面切换后,延迟一定时间再开始缓动。单位毫秒。 在Gear界面上,我们并没有看X值的设置。...

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

2846. laya.d3.core.trail.TrailRenderer_API3.0 [ 37%]

...itFlag __init__ changeVertexDefine shaderValueInit Legend Class Class with type parameter Constructor Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface

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

2847. laya.d3.core.pixelline.PixelLineRenderer_API3.0 [ 37%]

...itFlag __init__ changeVertexDefine shaderValueInit Legend Class Class with type parameter Constructor Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface

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

2848. 显示文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

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

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

2849. 多线程Worker · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...任何完成操作的机会;就是简单的立即停止 属性 Property Type Description onmessage EventListener 一个事件监听函数,每当拥有message属性的MessageEvent从worker中冒泡出来时就会执行该函数。事件的data属性存有消息内容。 onerror EventListener 一...

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

2850. 支付宝小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

... = Laya; @regClass() export class Script extends Laya.Script { @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //支付宝小游戏 Laya.loader...

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