大约有 169 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0075 秒)
...力的影响,不会产生受力位移,运动刚体的位移只能通过transform改变节点坐标。 > 与2D的运动学类型刚体不同,LayaAir 3D的运动刚体脱离了物理引擎运动,即使设置速度也不可以使其位移。这样做的好处是减少了物理运算,节省了...
来源: Laya2.0_文档 发布时间: 20210715
...的情况,我看在代码中,摄像机移动使用的是 this.camera.transform.localPositionZ+=0.05;向局部坐标系的z轴正方向移动,这行代码的效果应该是离物体越来越近了,根据您代码里设置的范围来看是正常的,我这里改成"-="后坐标位置也显...
来源: Laya_社区 发布时间: 20210904
...hic orthographicVerticalSize parent renderingOrder scene skyRenderer timer transform url Methods _initialize _processActive addAllLayers addChild addChildAt addChildren addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop ...
来源: Laya3.0_api 发布时间: 20231115
...shadowMapFrequency skewX skewY skyRenderer stage staticCache texture timer transform url viewport visible width x y zOrder _updateMark Methods _initialize _processActive _setCullCamera addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customR...
来源: Laya3.0_api 发布时间: 20231115
...ne scrollRect seekable seeking skewX skewY stage staticCache texture timer transform url videoHeight videoWidth viewport visible volume width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater canPlayType clearTimer...
来源: Laya3.0_api 发布时间: 20231102
...dMesh = mesh; render.sharedMaterial = this.batchMat; //随机位置 sprite.transform.localPosition = this._getRandomPosition(positionRanvge); //随机一个颜色索引 let colorIndex = Math.floor(Math.random() * this._colorNums); //设置节点的 Laya.ENodeCustomData.custom_0 为对应的颜色索...
来源: Laya3.0_文档 发布时间: 20251010
...配模式规则,计算出适配宽高需要缩放的比例,然后通过transform的matrix(矩阵)来对画布缩放至逻辑分辨率范围内,再通过viewport与DPR机制缩放还原。 > 此处的适配设计原理,视频中会展开讲,本文最后会有视频链接 基于以上种...
来源: Laya2.0_文档 发布时间: 20210715
...位置) | | Alignment(对齐) | 支持(包括:View朝向相机、Transform Z朝向自身局部坐标Z) | | Texture Mode(纹理模式) | 部分支持(包括:Stretch拉伸) | #### 4.8 地形的属性 关于地形,我们正在丰富,近期会完善。当前仅支持部分Terra...
来源: Laya2.0_文档 发布时间: 20210714
... 也就是Unity中包含以下组件的节点: 1. Transform 2. MeshFilter 3. MeshRenderer 4. SkinnedMeshRenderer 5. Animation 6. Animator (新) 7. Terrain 8. ParticleSystem(使用须知) ...
来源: Laya_社区 发布时间: 20170428