大约有 1,709 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0053 秒)
Laya_社区(1284) Laya3.0_api(178) Laya2.0_文档(87) laya_api(60) Laya2.0_api(40) Laya3.0_文档(33) Laya_示例(24) Laya2.0_示例(3)
... 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
...&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
...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTextureTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTextureTangentInheritanceVertexPositionNormalColorTextureTangent ObjectImplements IVertex VertexPositio...
来源: laya_api 发布时间: 20170929
...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
...言、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
...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
...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
...可是圆移动过去不再继续向前飞,直接自由落体,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
...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
...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTextureSkinTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTextureSkinTangentInheritanceVertexPositionNormalTextureSkinTangent ObjectImplements IVertex VertexPositionNo...
来源: laya_api 发布时间: 20170929