大约有 763 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
Laya3.0_api(274) Laya_社区(184) laya_api(104) Laya2.0_api(97) Laya2.0_文档(63) Laya3.0_文档(31) Laya2.0_示例(6) Laya_示例(4)
...1.3 设置ViewStack组件子页面的name属性1.4 设置ViewStack的页面索引selectedIndex1.5 创建控制用的Tab标签1.6 通过代码控制ViewStack组件切换显示2. ViewStack属性导航容器组件(ViewStack) 本篇中会涉及一些Tab组件知识,请先阅读Tab组件的文档...
来源: Laya3.0_文档 发布时间: 20251010
经验分享:如何控制龙骨动画的播放索引! package { import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.events.Event; import laya.webgl.WebGL; public class DragonDemo { private var mFactory:Templet; private var mArmature:Skeleton; private var index:int;//帧频 ...
来源: Laya_社区 发布时间: 20170509
...bject:*):void 克隆。 Emission getBurstByIndex(index:int):Burst 通过索引获取粒子爆裂。 Emission getBurstsCount():int 获取粒子爆裂个数。 Emission removeBurst(burst:Burst):void 移除粒子爆裂。 Emission removeBurstByIndex(index:int):void 通过索引移除粒子...
来源: laya_api 发布时间: 20170929
...bject:*):void 克隆。 Emission getBurstByIndex(index:int):Burst 通过索引获取粒子爆裂。 Emission getBurstsCount():int 获取粒子爆裂个数。 Emission removeBurst(burst:Burst):void 移除粒子爆裂。 Emission removeBurstByIndex(index:int):void 通过索引移除粒子...
来源: Laya2.0_api 发布时间: 20190513
...性的相关描述:[属性长度, 属性类型,false, 属性起始位置索引 * CONST3D2D.BYTES_PE]; this.position = [2, WebGLContext.FLOAT, false, len, 0]; this.texcoord = [2, WebGLContext.FLOAT, false, len, 2 * CONST3D2D.BYTES_PE]; this.colo...
来源: Laya_社区 发布时间: 20170606
... Parameters shader: Shader3D 着色器 subShaderIndex: number 子着色器索引 passIndex: number 通道索引 defines: string[] 宏定义集合 Returns ShaderVariant Accessors defineNames get defineNames(): Readonly<string[]> Defined in laya/d3/shader/ShaderVariantCollection.ts:44 宏定义...
来源: Laya3.0_api 发布时间: 20231102
...[LayaAir3]TextInput节点的子节点Sprite为什么在getChildAt中是1的索引而不是0 在最新的Layaair3中,在TextInput下的子节点Sprite,在TextInput的脚本中,访问getChildAt(0)是Input,而不是Sprite,而Spirit是getChildAt(1) 附件 : --> LayaProject6.zip 2025-03-24 ...
来源: Laya_社区 发布时间: 20250324
...m IndexBuffer3D.indexCount Defined in laya/d3/graphics/IndexBuffer3D.ts:29 索引个数。 Returns number indexType get indexType(): IndexFormat Inherited from IndexBuffer3D.indexType Defined in laya/d3/graphics/IndexBuffer3D.ts:15 索引类型。 Returns IndexFormat indexTypeByteCount get indexType...
来源: Laya3.0_api 发布时间: 20231115
... Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):N...
来源: Laya2.0_api 发布时间: 20190513
...t;, _super); /* 初始化此类 texture纹理对象 vb顶点数组 ib顶点索引数组 */ myShaderSprite.prototype.init = function(texture,width_Size,height_Size,vb,ib){ this.vBuffer = Laya.VertexBuffer2D.create(); this.iBuffer = Laya.IndexBuffer2D.create(); this.ibData = new Uint16Array(); if(vb) ...
来源: Laya_社区 发布时间: 20180619