大约有 1,483 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0062 秒)
Laya_社区(800) Laya3.0_api(343) Laya2.0_api(142) laya_api(114) Laya2.0_文档(52) Laya3.0_文档(23) Laya2.0_示例(5) Laya_示例(4)
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: laya_api 发布时间: 20170929
...blic Methods MethodDefined By destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用...
来源: Laya2.0_api 发布时间: 20190513
...使用场景。 #### Ligthing(光照)渲染支持 在`window-lighting-settings` 打开光照渲染面板。 (图1) **(1) Skybox Material**(material) 天空盒。 **Tip**:请使用LayaAir3D/Sky目录下的Shader。 **(2) Environment Lighting**环境光照 支持使用C...
来源: Laya2.0_文档 发布时间: 20210714
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: laya_api 发布时间: 20170929
...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
...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
...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
...:SoundChannel):void[static] 移除播放的声音实例。 SoundManager setMusicVolume(volume:Number):void[static] 设置背景音乐音量。音量范围从 0(静音)至 1(最大音量)。 SoundManager setSoundVolume(volume:Number, url:String = null):void[static] 设置声音音量。...
来源: Laya2.0_api 发布时间: 20190513
...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
...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