• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 848 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0109 秒)

291. 新人求教!!! [ 75%]

...onkey2.png"; //切换状态 private flag:boolean = false; private img:Laya.Sprite; constructor() {       //初始化引擎       Laya.init(1334,750);      //设置舞台背景色      Laya.stage.bgColor = "#ffffff";      //加载多张图片,在图片资源加载成功后,通过...

来源: Laya_社区 发布时间: 20180226

292. laya.ui.UIGroup_API3.0 [ 75%]

...: 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

293. laya.d3.core.scene.Scene3D_API3.0 [ 75%]

...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

294. [LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 [ 75%]

...   我试着用代码实现物理效果class CollisionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_close.png'); let box:laya.physics.Box...

来源: Laya_社区 发布时间: 20190428

295. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 75%]

...d(testView); // //return; Laya.timer.once(3000, this, function():void{ var sprite:Sprite = new Sprite(); sprite.pos(0, 0); var texture:Texture = new Texture(Browser.window.sharedCanvas); texture.bitmap.alwaysChange = true;//小程序使用,非常费,这个参数可以根据自己的需求适当...

来源: Laya_社区 发布时间: 20180525

296. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 75%]

js环境下使用Loader加载图片在Sprite对象的.on函数无效 js环境下使用Loader加载图片在Sprite对象的.on函数无效 var tempnote = new Laya.Sprite(); 使用 tempnote.texture=Loader.getRes(tempjson.pic)后 tempnote.on函数不触发 使用tempnote.loadImage(tempjson.pic); 触...

来源: Laya_社区 发布时间: 20171024

297. laya.ui.Button [ 75%]

...vents Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和...

来源: Laya2.0_api 发布时间: 20190513

298. laya.ui.TextInput [ 75%]

...gelaya.uiClasspublic class TextInputInheritanceTextInput Label UIComponent Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...

来源: Laya2.0_api 发布时间: 20190513

299. laya.ui.Label_API3.0 [ 75%]

...: 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

300. laya.map.GridSprite [ 75%]

...cumentationAll Packages | All Classes | Index | Frames No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public Properti...

来源: laya_api 发布时间: 20170929