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

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

61. Sprite3D-Sprite3D变换 [ 92%]

... Laya.Vector3(0.6, 0, 0))); Laya.timer.frameLoop(1, this, animate); } var _position = new Laya.Vector3(-0.6, 0, 0); var _rotate = new Laya.Vector3(0, 1, 0); var _scale = new Laya.Vector3(); var scaleDelta = 0; var scaleValue = 0; function animate() { scaleValue = Math.sin(scaleDelta += 0.1); _positi...

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

62. 如何使用3D场景2D人物进行混合开发(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 92%]

...&group=Advance&name=Secne3DPlayer2D)) ```typescript //变换位置 this._position.x = Math.sin(this.scaleDelta += 0.01) * 2; this._position.z = Math.cos(this.scaleDelta += 0.01) * 2; //修改球的位置 this.sphere.transform.position = this._position; //计算位置 this._camera.viewport.project(...

来源: Laya2.0_文档 发布时间: 20210715

63. laya.d3.graphics.VertexPositionNormalColorTextureTangent [ 92%]

...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTextureTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTextureTangentInheritanceVertexPositionNormalColorTextureTangent ObjectImplements IVertex VertexPositio...

来源: laya_api 发布时间: 20170929

64. laya.device.geolocation.Geolocation_API3.0 [ 92%]

...hy Geolocation Index Constructors constructor Properties PERMISSION_DENIED POSITION_UNAVAILABLE TIMEOUT enableHighAccuracy maximumAge supported timeout Methods clearWatch getCurrentPosition watchPosition Constructors constructor new Geolocation(): Geolocation Defined in laya/device/geolocation/Geolo...

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

65. 高级应用-寻路导航 [ 91%]

...言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); this._position = new Laya.Vector3(0, 0, 0); this._upVector3 = new Laya.Vector3(0, 1, 0); this._tarPosition = new Laya.Vector3(0, 0, 0); this._finalPosition = new Laya.Vector3(0, 0, 0); this._quaternion = new Laya.Quaternion(); this....

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

66. laya.d3.graphics.VertexGlitter [ 91%]

...class VertexGlitterInheritanceVertexGlitter ObjectImplements IVertex VertexPositionNormalColorTangent 类用于创建粒子顶点结构。 Public Properties PropertyDefined By  position : Vector3[read-only] VertexGlitter  textureCoordinate : Vector2[read-only] VertexGlitter  time : Number[rea...

来源: laya_api 发布时间: 20170929

67. 3D射线碰撞总是会穿墙,求解决方法 [ 91%]

...lliderShape(0.25, 0.85); this.from = new Laya.Vector3(this.player.tran*orm.position.x, this.player.tran*orm.position.y + 1.5, this.player.tran*orm.position.z + 2); this.to = new Laya.Vector3(this.player.tran*orm.position.x, this.player.tran*orm.position.y + 1.5, this.player.tran*orm.position.z - 1);...

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

68. 怎么把matter物理世界的左边界和右边界连在一起 [ 91%]

...可是圆移动过去不再继续向前飞,直接自由落体,if(this.ball.position.x<1) { this.ball.position={x:790,y:this.ball.position.y} } if(this.ball.position.x>799) { this.ball.position={x:10,y:this.ball.position.y} } 请问谁有什么刚好的办法实现我需要的这个效果 2018-...

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

69. 描边Shader,使用了两个Pass [ 91%]

...xtends Laya.BaseMaterial { constructor() { super() var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0, 'a_Texcoord': Laya.VertexMesh.MESH_TEXTURECOORDINATE0, } var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SP...

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

70. laya.d3.graphics.VertexPositionNormalTextureSkinTangent [ 91%]

...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTextureSkinTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTextureSkinTangentInheritanceVertexPositionNormalTextureSkinTangent ObjectImplements IVertex VertexPositionNo...

来源: laya_api 发布时间: 20170929