大约有 2,691 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0123 秒)
Laya_社区(2165) Laya2.0_文档(119) Laya3.0_api(106) Laya_示例(84) Laya2.0_api(57) Laya2.0_示例(55) laya_api(53) Laya3.0_文档(52)
...区域改变问题! private addedToStage():void{ this.__mask = new Laya.Sprite(); this.__mask.graphics.drawRect(0,0,this.img_bar.width,this.img_bar.height,"#000000"); this.setValue(0); } private setValue(v:number):void{ this.__mask.scaleX = v; this.img_bar.mask = null;//第二次设置mask的时...
来源: Laya_社区 发布时间: 20170320
请问如何给MeshSprite3D对象设置混合模式 blendmode? 在二维模式下,sprite是有blendMode属性设置混合模式的,而在3D环境下找不到这个属性,请问要如何设置呢? 2017-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20170309
...同的对象,调用第一个的一个方法,走进了第二方法里 sprite旋转以后,但是原来碰撞检测rect没有旋转 缓动Tween能用在3D物体或者特效上面吗? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 Texture图片能否进行翻转? 求指点3d...
来源: Laya_社区 发布时间: 20180122
...it(Laya.Browser.width, Laya.Browser.height, Laya.WebGL); var sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.loadImage("res/img/popular.png", 0, 0, 0, 0, Laya.Handler.create(this, function (a1, a2) { console.log(a1, a2); }), [100]); 为什么不能把Laya.Hander.create后面带的这个参数...
来源: Laya_社区 发布时间: 20180621
...t;报错: //飞机 let plane = scene.getChildByName("plane") as Laya.MeshSprite3D; let character: Laya.CharacterController = plane.addComponent(Laya.CharacterController); let collider_shape_box = new Laya.BoxColliderShape(2.5, 0.8, 0.8); collider_shape_box.localOffset.x = -0.5; let collider_sh...
来源: Laya_社区 发布时间: 20210101
...: 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
...候,内部是使用的drawTexture 这个api动态切换图片吗 var sp2:Sprite = new Sprite(); sp2.x = 300; sp2.graphics.drawTexture(_texture,0,0,100,100); 2017-09-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20170927
...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
...: 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
...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