大约有 841 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0071 秒)
...e name: string | null = null 如果为null则播放默认动画,否则按名字播放动画片段。 Default value layerIndex: number = 0 层索引。 Default value normalizedTime: number = Number.NEGATIVE_INFINITY 归一化的播放起始时间。 Returns void removeState removeState(state: Anima...
来源: Laya3.0_api 发布时间: 20231115
...节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(c...
来源: Laya2.0_api 发布时间: 20190513
... Node.getChildByName Defined in laya/display/Node.ts:299 根据子节点的名字,获取子节点对象。 Parameters name: string 子节点的名字。 Returns Node 节点对象。 getChildIndex getChildIndex(node: Node): number Inherited from Node.getChildIndex Defined in laya/display/Node.ts:29...
来源: Laya3.0_api 发布时间: 20231115
...e] private BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _addDisablePublicShaderDefine(value:int):void 增加禁用宏定义。 BaseMaterial _getBool(shader...
来源: laya_api 发布时间: 20170603
...节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(c...
来源: Laya2.0_api 发布时间: 20190513
...节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(c...
来源: Laya2.0_api 发布时间: 20190513
...节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getGraphicBounds(realSize:Boolean = false):Rectangle 返回此实例中的绘图对象( Grap...
来源: laya_api 发布时间: 20170929
...hurikenParticleMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _addDisablePublicShaderDefine(value:int):void 增加禁用宏定义。 BaseMaterial _addShaderDefin...
来源: laya_api 发布时间: 20170929
... Node.getChildByName Defined in laya/display/Node.ts:299 根据子节点的名字,获取子节点对象。 Parameters name: string 子节点的名字。 Returns Node 节点对象。 getChildIndex getChildIndex(node: Node): number Inherited from Node.getChildIndex Defined in laya/display/Node.ts:29...
来源: Laya3.0_api 发布时间: 20231115
...====== 创建好目录结构 找到项目src目录 创建一个文件夹名字为runGame 分别创建RunGame.js 和 Background.js 将我们需要的素材放到项目目录下面bin -> res RunGame.js是我们游戏的入口类 //后面会提到具体的作用 Background,js 是我们的背景...
来源: Laya_社区 发布时间: 20160722