大约有 372 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
Laya_社区(155) Laya2.0_文档(80) Laya3.0_api(43) laya_api(39) Laya2.0_api(33) Laya3.0_文档(20) Laya_示例(2)
...ra(0, 0.1, 100))) as Laya.Camera; this.camera.transform.translate(new Laya.Vector3(0, 3, 3)); this.camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); this.camera.clearColor = null; //添加方向光 var directionLight: Laya.DirectionLight = this.scene.addChild(new Laya.DirectionLight...
来源: Laya_社区 发布时间: 20180307
...se1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(0,0,0),false); warehouseMeshSprite3D1= warehouse1.getChildAt(0).getChildByName("Mesh1"); var material = warehouseMeshSprite3D1.meshRender.mater...
来源: Laya_社区 发布时间: 20171226
...h"); scene.addChild(layaMonkey) layaMonkey.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); layaMonkey.transform.position = new Laya.Vector3(0, 0.5,0); // layaMonkey.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0)) //漫反射贴图 var tietu=layaMonkey.getChildByName("denglongyu").getChil...
来源: Laya_社区 发布时间: 20171212
...etShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBuffe...
来源: Laya3.0_api 发布时间: 20231115
...盒,不允许修改其值。 ShurikenParticleRender boundingBoxCenter : Vector3[read-only] 获取包围盒中心,不允许修改其值。 BaseRender boundingSphere : BoundSphere[read-only] 获取包围球,不允许修改其值。 BaseRender castShadow : Boolean 是否产生阴影。 BaseRender d...
来源: laya_api 发布时间: 20170929
... Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; this.upVector3 = new Laya.Vector3(0, 1, 0); //预加载所有资源 let resource = ["Export/LayaScene_JJF/Conventional/JJF.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, ...
来源: Laya_社区 发布时间: 20190531
...。 你好,小伙儿 • 2018-05-26 16:02 //添加环境色(刚开始Vector3变量我传入了 1,1,1 发现效果不明显,所以改大一些方便查看效果) scene.ambientColor = new Laya.Vector3(10,10,10) 我添加了环境色,并且截了图,发现阴影的颜色并没有改变...
来源: Laya_社区 发布时间: 20180526
...解: > 属性 `renderMode:int` [write-only] 设置渲染模式。 `color:Vector4` 颜色 `tilingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` ...
来源: Laya2.0_文档 发布时间: 20210715
...解: > 属性 `renderMode:int` [write-only] 设置渲染模式。 `color:Vector4` 颜色 `tilingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` ...
来源: Laya2.0_文档 发布时间: 20210714
...解: > 属性 `renderMode:int` [write-only] 设置渲染模式。 `color:Vector4` 颜色 `tilingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` ...
来源: Laya2.0_文档 发布时间: 20210714