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

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

91. TiledMap销毁的问题,TiledMap销毁后屏幕变灰,不能显示 [ 91%]

... _map.createMap("res/race.json",viewRect);我的游戏销毁的代码 _map.destroy(); _map = null; Laya.stage.addChild(new Plazz());//ui 经过排查后发现问题出现在TiledMap相关的代码里面 在TiledMap的destroy方法内 /** * 销毁地图 */ public function destroy():void { ....... //...

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

92. 分享:DrawToCanvas内存释放问题! [ 91%]

...ps://ask.layabox.com/question/1726) if(htmlC&&texture) { texture.destroy(); } //截屏主要代码 count ++; htmlC=sp.drawToCanvas(800,800,0,0);//绘制 当前Sprite 到 Canvas 上,并返回一个HtmlCanvas。 texture= new Texture(htmlC);//将htmlCanvas赋值给texture对象 sp2 = new Sp...

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

93. laya.d3.physics.constraints.FixedConstraint_API3.0 [ 91%]

...lse awaked breakForce breakTorque connectAnchor currentForce currentTorque destroyed enabled hideFlags id Methods _initialize _setConnectRigidBody _setOwner destroy getPhysicsSimulation getcurrentForce getcurrentTorque hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRende...

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

94. laya.resource.HTMLCanvas_API3.0 [ 91%]

...ierarchy Resource HTMLCanvas Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors context cpuMemory destroyed gpuMemory height id obsolute referenceCount source width cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMe...

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

95. laya.physics.joint.WheelJoint_API3.0 [ 91%]

...d otherBody owner runInEditor scriptPath selfBody Accessors awaked damping destroyed enableLimit enableMotor enabled frequency hideFlags id joint lowerTranslation maxMotorTorque motorSpeed upperTranslation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable...

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

96. laya.d3.graphics.IndexBuffer3D_API3.0 [ 91%]

...sage canRead indexCount indexType indexTypeByteCount Methods _setIndexData destroy getData setData unbind Constructors constructor new IndexBuffer3D(indexType: IndexFormat, indexCount: number, bufferUsage?: BufferUsage, canRead?: boolean): IndexBuffer3D Overrides IndexBuffer.constructor Defined in l...

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

97. laya.ani.AnimationTemplet_API3.0 [ 91%]

...rce AnimationTemplet Templet Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG interpolation Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreat...

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

98. laya.components.Animator2D_API3.0 [ 91%]

..._extra _singleton owner runInEditor scriptPath Accessors awaked controller destroyed enabled hideFlags id isPlaying parameters speed Methods _initialize _setOwner addControllerLayer crossFade destroy getDefaultState getParamsvalue gotoAndStop gotoAndStopByFrame hasHideFlag onAdded onAwake onDisable ...

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

99. laya.d3.core.light.PointLightCom_API3.0 [ 91%]

...ties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType range shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStrength Methods _initialize _setOwner destro...

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

100. laya.d3.core.render.BaseRender_API3.0 [ 91%]

...or scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow destroyed distanceForSort enabled hideFlags id lightmapIndex lightmapScaleOffset material materials ratioIgnor receiveShadow reflectionMode renderNode renderbitFlag sharedMaterial sharedMaterials volume Methods _applyReflecti...

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