大约有 1,207 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya_社区(573) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(29)
...amera(); scene.addChild(camera); camera.transform.localPosition = new Laya.Vector3(0,4,10); //载入并显示3D建筑 var map = Laya.Sprite3D.load("LayaScene_test/test.lh"); scene.addChild(map); //map.transform.localPosition = new Laya.Vector3(0,-4,-10); //控制摄像机 camera.addComponent(CameraM...
来源: Laya_社区 发布时间: 20170524
...ipt extends Laya.Script { /** @private */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number; protected lastMouseY: number; protected yawPitchRoll: Laya.Vector3 = new Laya.Vector3(); protected resultRotation: Laya...
来源: Laya_社区 发布时间: 20200707
...粗糙质感的材质。 ##### 主要属性和方法 > 属性 `albedoColor:Vector4` 漫反射颜色。 `albedoTexture:BaseTexture` 漫反射贴图。 `emissionColor:Vector4` 放射颜色。 `emissionTexture:BaseTexture` 放射贴图。 `enableEmission:Boolean` 是否激活放射属性。 `enableRefl...
来源: Laya2.0_文档 发布时间: 20210715
...ionAll Packages | All Classes | Index | Frames No Frames GradientDataVector2Properties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientDataVector2InheritanceGradientDataVector2 ObjectImplements laya.d3.core.IClone GradientDataVector2 类用于创建二维向量...
来源: laya_api 发布时间: 20170929
...ionAll Packages | All Classes | Index | Frames No Frames GradientDataVector2Properties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientDataVector2InheritanceGradientDataVector2 ObjectImplements laya.d3.core.IClone GradientDataVector2 类用于创建二维向量...
来源: Laya2.0_api 发布时间: 20190513
...果,是我参数传的有问题吗? graph.drawCircle(0,0,50,new Laya.Vector3(0,1,1),new Laya.Vector3(0,1,1),10); 颜色的参数怎么传,参数类型是any,我不知道要传什么。 还有这个是不是得在Update中一直调用才行? Laya_Aaron • 2017-12-11 20:44 先new一个sprit...
来源: Laya_社区 发布时间: 20171211
... 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
....1, 100))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 0, 6)); camera.clearColor = null; //材质 var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("Assets/test.png"); m...
来源: Laya_社区 发布时间: 20180119
...粗糙质感的材质。 ##### 主要属性和方法 > 属性 `albedoColor:Vector4` 漫反射颜色。 `albedoTexture:BaseTexture` 漫反射贴图。 `emissionColor:Vector4` 放射颜色。 `emissionTexture:BaseTexture` 放射贴图。 `enableEmission:Boolean` 是否激活放射属性。 `enableRefl...
来源: Laya2.0_文档 发布时间: 20210714
...} 2.ts module A{ export function test(){ a = new a(); a.vector2 = new Vector2(100, 100); a.加载() //Laya.loader.create 加载一个模型。 这个a类里面有回调方法 a里面回调方法,回调回来后,发现,a.vector2 值丢了变成0,1了,然后我...
来源: Laya_社区 发布时间: 20180516