大约有 615 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
Laya3.0_api(274) laya_api(104) Laya2.0_api(97) Laya_社区(76) Laya2.0_文档(39) Laya3.0_文档(16) Laya2.0_示例(5) Laya_示例(4)
...通常用于识别。 BaseRender lightmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vecto...
来源: laya_api 发布时间: 20170929
...静态的一部分。 BaseRender lightmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vecto...
来源: Laya2.0_api 发布时间: 20190513
...; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 //Laya.stage.addChild(ani); //动画正常显示 文件路径都正常 } private init(): void { var assets: Array<any> = ; assets.push({ url: "res/start.json", type: Loader.ATLAS...
来源: Laya_社区 发布时间: 20170329
...。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode...
来源: Laya2.0_api 发布时间: 20190513
...提交 7 个回复 ymsdandan 赞同来自: 如果是根节点,根据index索引获取,如果是panel节点,根据panel的width和heigh获取,如果是动画节点就用矩阵变换获取 2017-11-21 0 8 分享 微博 QZONE 微信 wudi199553 赞同来自: target3.transform.position 2017-11-21 ...
来源: Laya_社区 发布时间: 20171121
...放间隔(单位:毫秒) this.aniBirdSing.index = 0; // 当前播放索引 this.aniBirdSing.zOrder = 1; this.aniBirdSing.play(); this.aniBirdSing.pivot(0, 120); this.aniBirdSing.pos(94+0, 259+120); this.aniBirdSing.size(120, 120); console.log(this.aniBirdSing.width, this.aniBirdSing.height); t...
来源: Laya_社区 发布时间: 20171026
...from Node.getChildAt Defined in laya/display/Node.ts:312 根据子节点的索引位置,获取子节点对象。 Parameters index: number 索引位置 Returns Node 子节点 getChildByName getChildByName(name: string): Node Inherited from Node.getChildByName Defined in laya/display/Node.ts:299 根...
来源: Laya3.0_api 发布时间: 20231115
...lColorTextureSkin 类用于创建位置、法线、颜色、纹理、骨骼索引、骨骼权重顶点结构。 Public Properties PropertyDefined By blendIndex : Vector4[read-only] VertexPositionNormalColorTexture0Texture1Skin blendWeight : Vector4[read-only] VertexPositionNormalColorTexture0...
来源: laya_api 发布时间: 20170929
...from Node.getChildAt Defined in laya/display/Node.ts:312 根据子节点的索引位置,获取子节点对象。 Parameters index: number 索引位置 Returns Node 子节点 getChildByName getChildByName(name: string): Node Inherited from Node.getChildByName Defined in laya/display/Node.ts:299 根...
来源: Laya3.0_api 发布时间: 20231115
...静态的一部分。 BaseRender lightmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vecto...
来源: Laya2.0_api 发布时间: 20190513