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

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

1131. laya能支持2个摄像机吗?viewport相同,只是根据不同的cullingMask渲染指定层的东西,最后渲染结果是两个摄像机的叠加 [ 44%]

...知道是什么原因吗? Laya_Aaron • 2018-07-02 10:29 你有没有把vector.zero改了? 如果做射线检测用这个 不可更改的 常亮传进去做参数,这个zero会被更改导致不可预期的错误。。 FAITH • 2018-07-02 14:25 没有,我全局搜了一遍,没有用到...

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

1132. laya.d3.core.SkinnedMeshSprite3D [ 44%]

...象数量。 Node parent : Node[read-only] 父节点。Node pickColor : Vector4RenderableSprite3D PICKCOLOR : int[static] 拾取颜色。RenderableSprite3D SAHDERDEFINE_LIGHTMAP : int[static] 精灵级着色器宏定义,光照贴图。RenderableSprite3D scene : *[read-only] 获得所属场景...

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

1133. 如何为灯光添加阴影(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 44%]

...eSprite = this.addPBRSphere(Laya.PrimitiveMesh.createSphere(0.1), new Laya.Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; sphereSprite.meshRenderer.receiveShadow = true; ``` 然后来看下效果。 ![](img/1.png)(图1)

来源: Laya2.0_文档 发布时间: 20210715

1134. laya.d3.physics.PhysicsCollider_API3.0 [ 44%]

...理四元数 Returns Quaternion getPhysicsPosition getPhysicsPosition(): Vector3 Inherited from PhysicsTriggerComponent.getPhysicsPosition Defined in laya/d3/physics/PhysicsComponent.ts:432 获得物理位置 Returns Vector3 返回位置 hasHideFlag hasHideFlag(flag: number): boolean Inherited from ...

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

1135. 如何为灯光添加阴影(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 44%]

...ite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; ``` 然后来看下效果。 ![](img/1.png)(图1)

来源: Laya2.0_文档 发布时间: 20210715

1136. 设置tiling/Offset,图片循环模式/wrapMode repeat不生效 (问题未解决,麻烦回复,如已解决会改标题) [ 44%]

...NE 微信 xiaoqi 赞同来自: meshRender.material.tilingOffset = new Laya.Vector4() 2018-08-04 0 0 分享 微博 QZONE 微信 150*****372 赞同来自: 解决了么,我设置了wrapModeU和wrapModeV,并且确保了加载出来的texture2D,还是无法平铺,而使用官方的那个纹理平...

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

1137. laya.d3.core.MeshSprite3D [ 44%]

...型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>):void 通过指定类型获得所有组件。 Sprite3D getProjectionViewWorldMatrix(projectionViewMatrix:Matrix4x4):Matrix4x4 获取投影视图世界矩阵。 Sprite3D hasListener(type:String):Boo...

来源: laya_api 发布时间: 20170929

1138. 如何为灯光添加阴影(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 44%]

...ite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; sphereSprite.meshRenderer.receiveShadow = true; ``` 然后来看下效果。 ![](img/1.png)(图1)

来源: Laya2.0_文档 发布时间: 20210715

1139. laya.d3.core.material.RenderState [ 44%]

...tyDefined By  blend : int透明混合。RenderState  blendConstColor : Vector4混合常量颜色。RenderState  blendEquation : int混合方程。RenderState  blendEquationAlpha : intAlpha混合方程。RenderState  blendEquationRGB : intRGB混合方程。RenderState  cull : int渲染剔...

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

1140. 为什么说没有​ playByFrame方法 [ 44%]

...的方法,如果有更好的方法,请告诉我。 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 LayaAir 2D有没有夜晚灯光照明效果实现的内置方法? 引擎有没有管理或访问系统...

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