大约有 109 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0072 秒)
... Node parentRepaint(type:int):voidcacheAs时,设置所有父对象缓存失效。 Sprite pivot(x:Number, y:Number):Sprite 设置轴心点。相当于分别设置pivotX和pivotY属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite p...
来源: Laya2.0_api 发布时间: 20190513
...ned in laya/display/Sprite.ts:1647 cacheAs时,设置所有父对象缓存失效。 Parameters Default value type: number = SpriteConst.REPAINT_CACHE Returns void pivot pivot(x: number, y: number): Sprite Inherited from Text.pivot Defined in laya/display/Sprite.ts:1159 设置轴心点。相当于...
来源: Laya3.0_api 发布时间: 20231115
...rDemo extends Laya.Script { onAwake(): void { //下面的URL未来可能会失效,仅用于示例参考 this.loadHTMLImage("https://layaair.com/3.x/demo/resources/res/apes/monkey2.png"); } /** 加载URL无后缀资源 */ loadHTMLImage(url: string): void { Laya.loader.load(url, Laya.Loader.IMAGE).t...
来源: Laya3.0_文档 发布时间: 20251010
...)。 Sprite parentRepaint():voidcacheAs时,设置所有父对象缓存失效。 Sprite pivot(x:Number, y:Number):Sprite 设置轴心点。相当于分别设置pivotX和pivotY属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(...); Sprite pos(x:N...
来源: laya_api 发布时间: 20170929
... Node parentRepaint(type:int):voidcacheAs时,设置所有父对象缓存失效。 Sprite pivot(x:Number, y:Number):Sprite 设置轴心点。相当于分别设置pivotX和pivotY属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite p...
来源: Laya2.0_api 发布时间: 20190513
...ned in laya/display/Sprite.ts:1647 cacheAs时,设置所有父对象缓存失效。 Parameters Default value type: number = SpriteConst.REPAINT_CACHE Returns void pivot pivot(x: number, y: number): Sprite Inherited from Text.pivot Defined in laya/display/Sprite.ts:1159 设置轴心点。相当于...
来源: Laya3.0_api 发布时间: 20231115
...缩放属性,材质的基本属性,不支持组件跟节点的开启/失效。如果开发者对新的属性有要求,请跟帖反馈,并提供资源文件,我们会根据情况添加。Animator组件中的Avatar必须为空。 LayaAirRun使用须知: ...
来源: Laya_社区 发布时间: 20170428
...ned in laya/display/Sprite.ts:1647 cacheAs时,设置所有父对象缓存失效。 Parameters Default value type: number = SpriteConst.REPAINT_CACHE Returns void pivot pivot(x: number, y: number): Sprite Inherited from Text.pivot Defined in laya/display/Sprite.ts:1159 设置轴心点。相当于...
来源: Laya3.0_api 发布时间: 20231115
...ned in laya/display/Sprite.ts:1647 cacheAs时,设置所有父对象缓存失效。 Parameters Default value type: number = SpriteConst.REPAINT_CACHE Returns void pivot pivot(x: number, y: number): Sprite Inherited from Text.pivot Defined in laya/display/Sprite.ts:1159 设置轴心点。相当于...
来源: Laya3.0_api 发布时间: 20231115