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

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

71. Mesh网格-自定义网格 [ 91%]

...ild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.5, 0.5, 0.5))); box.transform.position = new Laya.Vector3(1.5, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //球体 var sphere = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh(0.25))); sphere.transform.position = ...

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

72. laya.d3.graphics.Vertex.VertexPositionTexture0 [ 91%]

...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionTexture0Properties | Methods Packagelaya.d3.graphics.VertexClasspublic class VertexPositionTexture0InheritanceVertexPositionTexture0 ObjectImplements IVertex VertexPositionNormalTexture 类用于创建位置、纹...

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

73. 自定义shader-边缘光照shader [ 91%]

...ildAt(0).skinnedMeshRender.sharedMaterials = baseMaterials; dude.transform.position = new Laya.Vector3(0, 0.5, 0); }); var earth = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh(0.5, 128, 128))); var customMaterial = new CustomMaterial(); customMaterial.setDiffuseTexture(Laya.Texture2D.loa...

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

74. laya.d3.renderobjs.renderobj.ShadowCullInfo_API3.0 [ 90%]

...owCullInfo Index Properties cullPlaneCount cullPlanes cullSphere direction position Properties cullPlaneCount cullPlaneCount: number Implementation of IShadowCullInfo.cullPlaneCount Defined in laya/d3/RenderObjs/RenderObj/ShadowCullInfo.ts:10 cullPlanes cullPlanes: Plane[] Implementation of IShadowC...

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

75. 怎么获取对象的坐标 [ 90%]

...ts: Float32Array[3]}   改成這樣:    console.log( camera.transform.position.x ); console.log( camera.transform.position.y ); console.log( camera.transform.position.z );   另外;你的 position 打錯,不是 postion 是 position。   2017-08-08 2 0 分享 微博 QZONE 微信 mayzhen...

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

76. laya.d3.graphics.VertexPositionNormalColorTextureSkinTangent [ 90%]

...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTextureSkinTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTextureSkinTangentInheritanceVertexPositionNormalColorTextureSkinTangent ObjectImplements IVertex V...

来源: laya_api 发布时间: 20170929

77. laya.d3.renderobjs.renderobj.CameraCullInfo_API3.0 [ 90%]

...lInfo Implements ICameraCullInfo Index Properties boundFrustum cullingMask position staticMask useOcclusionCulling Properties boundFrustum boundFrustum: BoundFrustum Implementation of ICameraCullInfo.boundFrustum Defined in laya/d3/RenderObjs/RenderObj/CameraCullInfo.ts:15 锥体包围盒 cullingMas...

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

78. 自定义shader-简单shader [ 90%]

...tate(rotation, false); }); function initShader() { var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [Laya.Sprite3D.WORLDMATRIX, ...

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

79. laya.d3.graphics.VertexPositionNormalColorTexture0Texture1 [ 90%]

...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTexture0Texture1InheritanceVertexPositionNormalColorTexture0Texture1 ObjectImplements IVertex VertexP...

来源: laya_api 发布时间: 20170929

80. 射线检测-放置物体 [ 90%]

...l.fontSize = 50; label.color = "#40FF40"; Laya.stage.addChild(label); var _position = new Laya.Vector3(0, 0, 0); var _offset = new Laya.Vector3(0, 0.25, 0); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { if (_outHitInfo.distance !== -1) { var sphere = scene.addChild(new Laya.M...

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