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

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

51. 灯光-点光 [ 86%]

...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //点光源 var pointLight = scene.addChild(new Laya.PointLight()); pointLight.color = new Laya....

来源: Laya_示例 发布时间: 20240930

52. laya.d3.renderobjs.nativeobj.NativeTransform3D_API3.0 [ 86%]

...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

53. 材质-BlinnPhong-漫反射贴图 [ 86%]

...项目开发更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = (scene.addChild(new Laya.Came...

来源: Laya_示例 发布时间: 20240930

54. 灯光-方向光 [ 86%]

...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color...

来源: Laya_示例 发布时间: 20240930

55. 高级应用-Laya3D与网页混合 [ 86%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //3.清除照相机颜色 camera.clearColor = null; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direct...

来源: Laya_示例 发布时间: 20240930

56. Sprite3D-Sprite3D克隆 [ 86%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete...

来源: Laya_示例 发布时间: 20240930

57. Mesh网格-自定义网格 [ 86%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.dire...

来源: Laya_示例 发布时间: 20240930

58. 照相机-多照相机 [ 86%]

...ene.addChild(new Laya.Camera( 0, 0.1, 100)); camera1.clearColor = new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, 1.5)); camera1.normalizedViewport = new Laya.Viewport(0, 0, 0.5, 1.0); var camera2 = scene.addChild(new Laya.Camera( 0, 0.1, 100)); camera2.clear...

来源: Laya_示例 发布时间: 20240930

59. laya.d3.math.Vector3 [ 86%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames Vector3Properties | Methods Packagelaya.d3.mathClasspublic class Vector3InheritanceVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By  x : NumberX轴...

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

60. laya.d3.terrain.unit.DetailTextureInfo [ 85%]

...ngDetailTextureInfo  normalTexture : StringDetailTextureInfo  offset : Vector2DetailTextureInfo  scale : Vector2DetailTextureInfoPublic Methods  MethodDefined By  DetailTextureInfo()DetailTextureInfoProperty DetaildiffuseTexturepropertypublic var diffuseTexture:StringnormalTextureproperty ...

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