大约有 85 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)
...Inherited Externals Only exported Menu Globals "laya/d3/animation/AnimationTransform3D" AnimationTransform3D Class AnimationTransform3D AnimationTransform3D 类用于实现3D变换。 Hierarchy EventDispatcher AnimationTransform3D Index Constructors constructor Methods event getWorldMatrix hasListen...
来源: Laya3.0_api 发布时间: 20231102
... var boundFrustum=camera.boundFrustum; var camPos=camera._transform.position; for (var i=0;i < validCount;i++){ var render=renders ; if (camera._isLayerVisible(render._owner._layer)&& render._enable){ ...
来源: Laya_社区 发布时间: 20190711
...ontainmentType.Contains*/1) // return true // } var worldMat = other.owner.transform.worldMatrix; var vec = new Vector3(); for (var i = 0, iLen = positions.length; i < iLen; i++) { Vector3.transformCoordinate(positions[i], worldMat, vec); if (Collision.sphereContainsPoint(this.boundSphere, vec)==...
来源: Laya_社区 发布时间: 20181114
...sics.rayCast(this.ray,this.outHitInfo,5)); //更新角色位置 this.owner.transform.translate(new Laya.Vector3(speedX,0,speedZ),false); //播放行走动画 2018-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个...
来源: Laya_社区 发布时间: 20180118
...0, 0.01, 0); onStart() { Laya.timer.frameLoop(1, this, ()=> { this.cube.transform.rotate(this.rotation, false); }); } } 效果如动图4-4所示: (动图4-4) 4.1.3 3D节点的进阶使用 @property( { type :Laya.Sprite3D } ) //节点类型 public p3d: Laya.Sprite3D; onAwake(): void { this.p...
来源: Laya3.0_文档 发布时间: 20240528
...hysics/Rigidbody3D.ts:151 是否为运动物体,如果为true仅可通过transform属性移动物体,而非其他力相关属性。 TODO 这个现在是指static或者kinematic Returns boolean Defined in laya/d3/physics/Rigidbody3D.ts:155 是否为运动物体,如果为true仅可通过transform...
来源: Laya3.0_api 发布时间: 20231115
... { this.camera = this.owner as Laya.Camera; if (this.target) { this.target.transform.position.cloneTo(this.curpos); this.delatpos = new Laya.Vector3(); } } /** * 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重写覆...
来源: Laya3.0_文档 发布时间: 20231214
...力的影响,不会产生受力位移,运动刚体的位移只能通过transform改变节点坐标。 与2D的运动学类型刚体不同,LayaAir 3D的运动刚体脱离了物理引擎运动,即使设置速度也不可以使其位移。这样做的好处是减少了物理运算,节省了...
来源: Laya3.0_文档 发布时间: 20240624
...Kinematic : Boolean 获取是否为运动物体,如果为true仅可通过transform属性移动物体,而非其他力相关属性。 Rigidbody3D isSingleton : Boolean[read-only] 获取是否为单实例组件。 Component isSleeping : Boolean[read-only] 获取是否处于睡眠状态。 Rigidbo...
来源: Laya2.0_api 发布时间: 20190513
...ite3D.__proto._childs (laya.core.js:6194) at RenderSprite3D.__proto._transform (laya.webgl.js:6730) at Character.__proto.render (laya.core.js:15656) at RenderSprite3D.__proto._childs (laya.core.js:6194) at RenderSprite3D.__proto._graphics (laya.core.js:6125) at Owner.__...
来源: Laya_社区 发布时间: 20181120