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

大约有 289 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0155 秒)

261. 组件脚本的内置方法 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...些初始化的操作,如获取组件引用、设置初始状态等。onDestroy方法在游戏对象被销毁时调用,可在此方法中释放游戏对象所占用的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合理利用这些生命周期方法,开发者能...

来源: Laya3.0_文档 发布时间: 20251010

262. laya.ani.swf.MovieClip_API3.0 [ 47%]

...lpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pi...

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

263. laya.ui.Panel_API3.0 [ 47%]

...m cacheAs centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize elasticEnabled filters globalRotation globalScaleX globalScaleY graphics gray hScrollBar hScrollBarSkin height hideFlags hitArea is3D left mask m...

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

264. laya.display.Sprite [ 46%]

...有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node  displayHeight : Number[read-only] 对象的...

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

265. laya.display.Sprite [ 46%]

...有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node  filters : Array滤镜集合。可以设置多个滤...

来源: laya_api 发布时间: 20170929

266. 3D场景环境设置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 46%]

...景 Laya.Scene.close("scene/Login.ls") //销毁指定的场景 Laya.Scene.destroy("scene/Login.ls") 8.2 场景资源加载 示例代码如下: //用Laya.Scene3D的方式加载 Laya.Scene3D.load('scene/Game.ls', Laya.Handler.create(null, function (res:any){ Laya.stage.addChild(res); })); //用Laya....

来源: Laya3.0_文档 发布时间: 20251010

267. laya.device.media.Video_API3.0 [ 46%]

...Mode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted nu...

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

268. laya.spine.SpineSkeleton_API3.0 [ 46%]

... animationName blendMode cacheAs components currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize externalSkins filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY numChildren par...

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

269. laya.ani.bone.Skeleton_API3.0 [ 45%]

...horY aniMode animationName blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY numChildren parent pivotX piv...

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

270. laya.media.VideoNode_API3.0 [ 45%]

...Mode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted nu...

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