大约有 321 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0117 秒)
...有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node enableDepthFog : BooleanBaseScene enableFog : Boolean 获...
来源: laya_api 发布时间: 20170422
...,使用大括号可以指定组件的任意属性进行赋值。 Tree destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[rea...
来源: Laya2.0_api 发布时间: 20190513
...RDEFINE_RECEIVE_SHADOW Accessors active activeInHierarchy components depth destroyed displayedInStage hideFlags id is3D layer meshFilter meshRenderer minX minZ numChildren parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addCompon...
来源: Laya3.0_api 发布时间: 20231102
...rchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY r...
来源: Laya3.0_api 发布时间: 20231115
...ite(); sp.texture = res; Laya.stage.addChild(sp); setTimeout(() => { sp.destroy() }, 1000); });重现代码如上,代码很简单。 下面是打印了Laya.Resource._idResourcesMap的截图 工程见附件,也很简单就是官方的2d Demo加了上面的代码 附件 : --> LayaProject2...
来源: Laya_社区 发布时间: 20231130
...,使用大括号可以指定组件的任意属性进行赋值。 Clip destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[rea...
来源: Laya2.0_api 发布时间: 20190513
...rchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY r...
来源: Laya3.0_api 发布时间: 20231115
...使用大括号可以指定组件的任意属性进行赋值。 UIGroup destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node direction : String 布局方向。 默认值为"horizontal"。 取值: "horizontal":表示水平布局。 "vertical":表示...
来源: Laya2.0_api 发布时间: 20190513
...{ var emitter = sp.emitter; emitter.stop(); emitter.clear(); sp.stop(); sp.destroy(true); Laya.stage.removeChild(sp); onAssetsLoaded(settings); }, 100); } })(); 这个例子 是不是说明 粒子有内存泄漏? 我不断new Particle2D 100ms后销毁该实例 我也调用了sp.desotry(true) ...
来源: Laya_社区 发布时间: 20170103
...性,使用大括号可以指定组件的任意属性进行赋值。 Box destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。Component displayedInStage : Boolean[read-only] ...
来源: laya_api 发布时间: 20170929