大约有 6,956 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0290 秒)
Laya_社区(6391) Laya2.0_文档(168) Laya3.0_文档(83) Laya3.0_api(76) Laya2.0_api(72) laya_api(68) Laya_示例(62) Laya2.0_示例(36)
...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
打包到ios和android,sprite上设置texture没有作用了。 如题,我特别喜欢使用sprite.texture = loader.getRes(url)的方法来修改已创建的sprite上的显示图片,但在打包以后发现这个方式没有改变其显示,一开始我以为是资源没有找到,但后来...
来源: Laya_社区 发布时间: 20190218
...dren?: boolean): ScaleBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited f...
来源: Laya3.0_api 发布时间: 20231115
...Children?: boolean): VBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns VBox Properties Optional _extra _extra: INodeExtra Inherited from ...
来源: Laya3.0_api 发布时间: 20231115
...Children?: boolean): HBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns HBox Properties Optional _extra _extra: INodeExtra Inherited from ...
来源: Laya3.0_api 发布时间: 20231115
如何给Sprite的graphics绘制的线条添加发光滤镜? 2017-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: bluesky var sp:Sprite=new Sprite(); sp.graphics.drawLine(0,0,200,2...
来源: Laya_社区 发布时间: 20170313
...ore/scene/Scene3D" Scene3D Class Scene3D 用于实现3D场景。 Hierarchy Sprite Scene3D Implements ISubmit Index Constructors constructor Properties _ShadowMapupdateFrequency _extra _ownGraphics _reflectionsIblSamples _reflectionsResolution _reflectionsSource _scene _sceneUniformData _skinBaseUrl ...
来源: Laya3.0_api 发布时间: 20231115
如何绘制 sprite 拖动的路线 如何绘制 sprite 拖动的路线 , 拖动sprite 按指定的路线前进 2017-02-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 实现原理:拖...
来源: Laya_社区 发布时间: 20170211
Animal作为Sprite的子节点,为什么坐标不一致? 在一个Sprite子类的构造函数中,创建了一个Animal作为Sprite的子节点。可运行发现Animal一直是在屏幕的左上角,也就是(0,0)的位置吧。而Sprite是在构造完成后,设置在了屏幕中间...
来源: Laya_社区 发布时间: 20180710
WebGL模式下,使用fillTexture填充Sprite,在Sprite移动时,会有间隔线显示并闪烁 使用Sprite作为背景,且用一张小图fillTexture填充显示,当背景移动时,会显示间隔线且会不停闪烁 this.mapBg = new Laya.Sprite(); this.mapBg.name = "map"; this.mapBg...
来源: Laya_社区 发布时间: 20170903