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

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

331. laya.ui.TextInput [ 80%]

...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...

来源: laya_api 发布时间: 20170929

332. laya.physics.PolygonCollider [ 79%]

...blic Methods MethodDefined By destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用...

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

333. 场景渲染配置(ActionScript-3D基础(AS3)-LayaAir3D之场景渲染配置) [ 79%]

...使用场景。 #### Ligthing(光照)渲染支持 ​ 在`window-lighting-settings` 打开光照渲染面板。 ![](img/1.png)(图1) **(1) Skybox Material**(material) 天空盒。 ​ **Tip**:请使用LayaAir3D/Sky目录下的Shader。 **(2) Environment Lighting**环境光照 ​ 支持使用C...

来源: Laya2.0_文档 发布时间: 20210714

334. laya.ui.Clip [ 79%]

...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...

来源: laya_api 发布时间: 20170929

335. laya.d3.component.Animator [ 79%]

...ntation     public function get avatar():Avatar    public function set avatar(value:Avatar):voidcacheFrameRateproperty cacheFrameRate:int 获取缓存播放帧,缓存模式下生效。 Implementation     public function get cacheFrameRate():int    public function set cacheFrameRat...

来源: laya_api 发布时间: 20170929

336. laya.resource.Texture2D_API3.0 [ 79%]

...Texture2D Class Texture2D Texture2D 类用于生成2D纹理。 Hierarchy BaseTexture Texture2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG TEXTURE2D blackTexture errorTexture grayTexture normalTexture whiteTexture Accessors anisoLevel baseMipmapLevel c...

来源: Laya3.0_api 发布时间: 20231115

337. 关于创建Sprite获取大小 [ 79%]

...getRes(value.url) _this.graphics.drawTexture(texture) _this.scaleX = _this.set_width / texture.sourceWidth _this.pivotX = _this.row_data.property.x_m * texture.sourceWidth _this.pivotY = _this.row_data.property.y_m * texture.sourceHeight _this.scaleY = _this.set_height / texture.sourceHeight })) kez...

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

338. laya.media.SoundManager [ 79%]

...:SoundChannel):void[static] 移除播放的声音实例。 SoundManager  setMusicVolume(volume:Number):void[static] 设置背景音乐音量。音量范围从 0(静音)至 1(最大音量)。 SoundManager  setSoundVolume(volume:Number, url:String = null):void[static] 设置声音音量。...

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

339. 粒子会不会有内存泄漏? [ 79%]

...anager); Laya.loader.load("res/parts/lizi2.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); } var i = 0; function onAssetsLoaded(settings) { var sp = new Particle2D(settings); sp.play(); sp.emitter.start(); sp.x = 100; sp.y = 100; sp.name = (i++).toString(); console.log(sp.name); Lay...

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

340. laya.components.AnimatorStateNumberCondition_API3.0 [ 79%]

...cessors compareFlag get compareFlag(): AniStateConditionNumberCompressType set compareFlag(value: AniStateConditionNumberCompressType): void Defined in laya/components/AnimatorStateCondition.ts:135 判断类型 Returns AniStateConditionNumberCompressType Defined in laya/components/AnimatorStateCondi...

来源: Laya3.0_api 发布时间: 20231115