大约有 1,278 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0742 秒)
Laya_社区(1036) Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya2.0_文档(36) Laya3.0_文档(22) Laya2.0_示例(3) Laya_示例(3)
laya.display.Sprite.graphics对象的旋转问题 我用laya.display.Sprite.graphics对象绘制了一条线,我想让其按线的初始点旋转 ,或者结束点为原点旋转。但是我用了graphics方法下的rotate做旋转是,无法rotate(90,0,0)旋转,设置rotate(90,1,0)...
来源: Laya_社区 发布时间: 20170424
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _scene3D _scene3D: any Inherited from Scene._scene3D Defined in laya/display/Scene.ts:28 _skinBaseUrl _skinBaseUrl: string Inher...
来源: Laya3.0_api 发布时间: 20231115
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...ren?: boolean): LayoutBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns LayoutBox Properties Optional _extra _extra: INodeExtra Inherited ...
来源: Laya3.0_api 发布时间: 20231115
BUG:Sprite.event() LayaAS版本,Sprite.event参数说明写了可以传数据、数组或不传参数,实际上,在JS环境下只传一个非数组的数据,会报错,我看了编译后的JS代码,的确有问题,data.unshift没有判断是否是数组 if (this.method==null)return n...
来源: Laya_社区 发布时间: 20170215
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
圆不跟谁 sprite 一起缩放? 在 sprite 上画直线与圆环, 直线能跟随滚轮共同缩放,圆环一直保持大小不变,都是画在同一个 sprite 上,为什么? import WebGL = Laya.WebGL; import Browser = Laya.Browser; import Point = Geometry.Point; // 程序入口 ...
来源: Laya_社区 发布时间: 20190314
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115