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

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

1. laya.d3.core.material.StandardMaterial [ 100%]

...Number 获取透明测试模式裁剪值。 BaseMaterial  ambientColor : Vector3 设置环境光颜色。 StandardMaterial  ambientTexture : BaseTexture 获取环境贴图。 StandardMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial ble...

来源: laya_api 发布时间: 20170929

2. laya.d3.core.material.RenderState_API3.0 [ 89%]

...参数,在blend为BLEND_ENABLE_SEPERATE时生效。 stencilOp stencilOp: Vector3 Defined in laya/d3/core/material/RenderState.ts:156 模板设置值 stencilRef stencilRef: number Defined in laya/d3/core/material/RenderState.ts:154 模板值 一般会在0-255 stencilTest stencilTest: number Defined i...

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

3. 获取相机renderTexture 作为阴影 的UV [ 89%]

...   onUpdate(){         this.ShadowCamera.transform.lookAt(new Vector3(0,0,0), new Vector3(0,1,0), false);         let v:Matrix4x4 = this.ShadowCamera.viewMatrix;         let p:Matrix4x4 = this.ShadowCamera.projectionMatrix;         let o:Matrix4x4 = ne...

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

4. 3d场景下面有张2d的图片,当鼠标焦点不在该网页时,2d图片为啥会闪动 [ 73%]

...cene.addChild(camera);             camera.transform.translate(new Vector3(0, 0.25, 0.6));             camera.transform.rotate(new Vector3(-30,0,0),true,false);             var map:Sprite3D = Sprite3D.load("3d/zhuoZi/ZhuoZi.lh");             map.transform.localScal...

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

5. laya.d3.renderobjs.nativeobj.NativeTransform3D_API3.0 [ 65%]

...ya/d3/RenderObjs/NativeOBJ/NativeTransform3D.ts:14 Static tmpVec3 tmpVec3: Vector3 = new Vector3() Inherited from Transform3D.tmpVec3 Defined in laya/d3/core/Transform3D.ts:882 Accessors localMatrix get localMatrix(): Matrix4x4 set localMatrix(value: Matrix4x4): void Overrides Transform3D.localMatri...

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