大约有 139 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
...遮罩区域 this.cMask.graphics.drawCircle(80,80,50,"#ff0000"); //圆形所在的位置坐标 this.cMask.pos(120,50); //实现img显示对象的遮罩效果 this.img.mask = this.cMask; } } new MaskDemo(); ``` 运行效果如图3所示:  (图3) 通过对比代码我们发现...
来源: Laya2.0_文档 发布时间: 20210715
...t isStatic(value: boolean) 2.4 蒙版层 (图2-6) 图2-6中,是精灵所在的图层 Layer。渲染相机可进行可视遮罩层的控制,对精灵的渲染与否进行控制,可以参考摄像机文档,其中有对设置不同物体蒙版层后,摄像机选择不同蒙版层的示例...
来源: Laya3.0_文档 发布时间: 20251010
...*第0帧*)。 **上一帧按钮**:点击后播放指针移动到当前所在帧的上一帧。如果当前帧是首帧,则播放指针移动到关键帧的最后一帧。 **播放\暂停按钮**:点击后,会从当前帧所在位置开始播放动画效果,在最后一个关键帧停止...
来源: Laya2.0_文档 发布时间: 20210715
...索引位置。 Parameters node: Node 子节点。 Returns number 子节点所在的索引位置。 getComponent getComponent<T>(componentType: {}): T Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {}...
来源: Laya3.0_api 发布时间: 20231115
...索引位置。 Parameters node: Node 子节点。 Returns number 子节点所在的索引位置。 getComponent getComponent<T>(componentType: {}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Compo...
来源: Laya3.0_api 发布时间: 20231115
...配置是用于界面国际化,请将它新建在你的所有界面文件所在的目录或上级目录。 标识:国际化配置文件的唯一标识,自动生成,不可修改(如果确实要修改,可以用文本方式打开配置文件直接修改,但需要自行保证唯一。但...
来源: Laya3.0_文档 发布时间: 20251010
...索引位置。 Parameters node: Node 子节点。 Returns number 子节点所在的索引位置。 getComponent getComponent<T>(componentType: {}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:956 获得组件实例,如果没有则返回为null Type parameters T: Compo...
来源: Laya3.0_api 发布时间: 20231102
...索引位置。 Parameters node: Node 子节点。 Returns number 子节点所在的索引位置。 getComponent getComponent<T>(componentType: {}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Compo...
来源: Laya3.0_api 发布时间: 20231115
...索引位置。 Parameters node: Node 子节点。 Returns number 子节点所在的索引位置。 getComponent getComponent<T>(componentType: {}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Compo...
来源: Laya3.0_api 发布时间: 20231115
...索引位置。 Parameters node: Node 子节点。 Returns number 子节点所在的索引位置。 getComponent getComponent<T>(componentType: {}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Compo...
来源: Laya3.0_api 发布时间: 20231115