大约有 848 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0109 秒)
Laya_社区(527) Laya3.0_api(65) Laya2.0_api(62) laya_api(57) Laya2.0_示例(44) Laya_示例(41) Laya2.0_文档(30) Laya3.0_文档(22)
...onkey2.png"; //切换状态 private flag:boolean = false; private img:Laya.Sprite; constructor() { //初始化引擎 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载多张图片,在图片资源加载成功后,通过...
来源: Laya_社区 发布时间: 20180226
...: 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
...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
... 我试着用代码实现物理效果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
...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
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
...vents Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和...
来源: Laya2.0_api 发布时间: 20190513
...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
...: 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
...cumentationAll Packages | All Classes | Index | Frames No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public Properti...
来源: laya_api 发布时间: 20170929