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

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

21. 物理引擎,我按照官方例子做的,不知道那里写错了,总是报这个错,大神帮我看下 [ 68%]

...perty '_color' of null at WebGLContext2D.__proto.stroke (laya.js:17440) at RenderContext._drawLine (laya.js:4738) at GraphicsGL.__proto._renderAll (laya.js:987) at RenderSprite3D.__proto._graphics (laya.js:5234) at RenderSprite3D.RenderSprite._initRenderFun [as _fun] (laya.js:5466) at Sprite.__proto...

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

22. 真机测试时 有3d模型的界面尺寸就会错乱 [ 68%]

...置他的大小的时候, 原本是这样设置的: let ratioW = Laya.RenderContext3D.clientWidth / Laya.stage.width let ratioH = Laya.RenderContext3D.clientHeight / Laya.stage.height rect.x *= ratioW rect.y *= ratioH rect.width *= ratioW rect.height *= ratioH return rect 这个rect就是放3d...

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

23. 自定义shader 在未指定webgl 模式下 setIBVB参数应该如何设置 [ 65%]

...渲染函数 public //重写渲染函数 public customRender(context:Laya.RenderContext,x:number,y:number):void{ this.shaderValue.iTime += this.animeValue; let webgl2d = context.ctx instanceof Laya.WebGLContext2D if( webgl2d) (context.ctx as Laya.WebGLContext2D).setIBVB( x, y, this.iBuffer, this.vBu...

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

24. 使用滤镜报错 [ 61%]

...///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:21355:9) at RenderContext._drawTexture (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:4555:33) at AutoBitmap.__proto._renderOneImg (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:1849:21) at Ren...

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

25. laya.d3.core.render.command.CommandBuffer_API3.0 [ 61%]

.../render/command/CommandBuffer.ts:58 Returns boolean context get context(): RenderContext3D set context(value: RenderContext3D): void Defined in laya/d3/core/render/command/CommandBuffer.ts:66 Returns RenderContext3D Defined in laya/d3/core/render/command/CommandBuffer.ts:62 Parameters value: RenderC...

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

26. laya.d3.core.Camera_API3.0 [ 60%]

...ler on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderContext3D removeAllLayers removeChild removeChildAt removeChildByName removeChildren removeCommandBuffer removeCommandBuffers removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex t...

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

27. laya.d3.webxr.core.WebXRCamera_API3.0 [ 59%]

...ler on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderContext3D removeAllLayers removeChild removeChildAt removeChildByName removeChildren removeCommandBuffer removeCommandBuffers removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex t...

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

28. laya.d3.component.hlod.HLODRender_API3.0 [ 56%]

... Returns void _needRender _needRender(boundFrustum: BoundFrustum, context: RenderContext3D): boolean Overrides BaseRender._needRender Defined in laya/d3/component/HLOD/HLODRender.ts:142 Parameters boundFrustum: BoundFrustum context: RenderContext3D Returns boolean _renderUpdate _renderUpdate(context...

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

29. laya.d3.component.staticmesh.StaticBatchMeshRender_API3.0 [ 55%]

... Returns void _needRender _needRender(boundFrustum: BoundFrustum, context: RenderContext3D): boolean Overrides BaseRender._needRender Defined in laya/d3/component/staticmesh/StaticBatchMeshRender.ts:117 Parameters boundFrustum: BoundFrustum context: RenderContext3D Returns boolean _renderUpdate _ren...

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

30. laya.d3.core.particleshuriken.ShurikenParticleInstanceSystem_API3.0 [ 31%]

...始化 buffer Returns void _updateRenderParams _updateRenderParams(stage: RenderContext3D): void Overrides ShurikenParticleSystem._updateRenderParams Defined in laya/d3/core/particleShuriKen/ShurikenParticleInstanceSystem.ts:508 Parameters stage: RenderContext3D Returns void addNewParticlesToVertexB...

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