大约有 311 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
Laya_社区(121) Laya3.0_api(97) Laya2.0_api(23) laya_api(21) Laya_示例(15) Laya3.0_文档(15) Laya2.0_示例(10) Laya2.0_文档(9)
...说不太方便。在页游时代,ActionScript3.0的二进制数组ByteArray,功能完善,api操作简单易懂,因此Laya的Byte在参考ByteArray的同时承接了html5的TypedArray类型化数组的特点。下面看下主要的用法 ### 常用方法 - 构造方法 #### 参数: `length...
来源: Laya2.0_文档 发布时间: 20210714
...on(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/ConeShape.ts:89 用于生成粒子初始位置和方向。 override Parameters position: Vector3 粒子位置...
来源: Laya3.0_api 发布时间: 20231115
...E UnitW UnitX UnitY UnitZ ZERO Accessors w x y z Methods clone cloneTo fromArray length lengthSquared Clamp add distance distanceSquared dot equals lerp max min multiply normalize scale subtract transformByM4x4 Constructors constructor new ConchVector4(x?: number, y?: number, z?: number, w?: number)...
来源: Laya3.0_api 发布时间: 20231102
...ar type2 = Laya.Loader.TEXTURE2D; Laya.loader.load([url1, url2]).then((res:Array<any>)=> { //加载多个,不带类型 }); Laya.loader.load([url1, url2], type).then((res:Array<any>)=> { //加载多个,统一设置类型 }); Laya.loader.load([{ url:url1, type: type1 }, { url:url...
来源: Laya3.0_文档 发布时间: 20251010
...被添加到舞台后 onEnable(): void { // 给List对象赋值 var data: Array<any> = []; for (var m: number = 0; m < 20; m++) { data.push({ m_label: "No." + m }); } this.list.array = data; } } 代码中,m_label的命名要与List列表项下的Label组件命名相同。 1.2.5 运行查...
来源: Laya3.0_文档 发布时间: 20251010
...。 Parameters data: any 附加的回调数据,可以是单数据或者Array(作为多参)。 Returns any setTo setTo(caller: any, method: Function | null, args: any[] | null, once?: boolean): Handler Defined in laya/utils/Handler.ts:44 设置此对象的指定属性值。 Parameters caller: any ...
来源: Laya3.0_api 发布时间: 20231115
...默认材质,禁止修改 Accessors MaterialDefine get MaterialDefine(): Array<string> Inherited from Material.MaterialDefine Defined in laya/d3/core/material/Material.ts:373 获得材质宏 Returns Array<string> MaterialProperty get MaterialProperty(): any Inherited from Material.Mate...
来源: Laya3.0_api 发布时间: 20231115
...默认材质,禁止修改 Accessors MaterialDefine get MaterialDefine(): Array<string> Inherited from Material.MaterialDefine Defined in laya/d3/core/material/Material.ts:373 获得材质宏 Returns Array<string> MaterialProperty get MaterialProperty(): any Inherited from Material.Mate...
来源: Laya3.0_api 发布时间: 20231115
...默认材质,禁止修改 Accessors MaterialDefine get MaterialDefine(): Array<string> Inherited from Material.MaterialDefine Defined in laya/d3/core/material/Material.ts:373 获得材质宏 Returns Array<string> MaterialProperty get MaterialProperty(): any Inherited from Material.Mate...
来源: Laya3.0_api 发布时间: 20231115
...默认材质,禁止修改 Accessors MaterialDefine get MaterialDefine(): Array<string> Inherited from Material.MaterialDefine Defined in laya/d3/core/material/Material.ts:373 获得材质宏 Returns Array<string> MaterialProperty get MaterialProperty(): any Inherited from Material.Mate...
来源: Laya3.0_api 发布时间: 20231115