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

大约有 412 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0039 秒)

301. laya.d3.physics.PhysicsTriggerComponent [ 51%]

... isTrigger : Boolean 获取是否为触发器。 PhysicsTriggerComponent owner : Node [只读]获取所属Node节点。 Component restitution : Number 获取弹力。 PhysicsComponent rollingFriction : Number 获取滚动摩擦力。 PhysicsComponent simulation : PhysicsSimulation[read-only] ...

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

302. laya.physics.joint.RopeJoint [ 51%]

...节的连接刚体,可不设置,默认为左上角空刚体RopeJoint owner : Node [只读]获取所属Node节点。 Component  selfAnchor : Array[首次设置有效]自身刚体链接点,是相对于自身刚体的左上角位置偏移RopeJoint  selfBody : RigidBody[首次设置有效]关...

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

303. 渲染队列排序问题,导致Alpha混合效果出错 [ 51%]

...ender=renders ;             if (camera._isLayerVisible(render._owner._layer)&& render._enable){                 Stat.frustumCulling++;                 if (!camera.useOcclusionCulling || render._needRender(boundFrustum)){              ...

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

304. laya.physics.joint.WeldJoint [ 51%]

... otherBody : RigidBody[首次设置有效]关节的连接刚体WeldJoint owner : Node [只读]获取所属Node节点。 Component  selfBody : RigidBody[首次设置有效]关节的自身刚体WeldJointProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties P...

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

305. laya.physics.ColliderBase [ 51%]

...否为单实例组件。 ColliderBase  label : String标签ColliderBase owner : Node [只读]获取所属Node节点。 Component  restitution : Number弹性系数,取值范围0-1,值越大,弹性越大,默认值为0ColliderBase  rigidBody : RigidBody[只读]刚体引用ColliderBasePub...

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

306. [LayaAir3]3D场景里面鼠标感应区域 3.2.1跟3.3不同 [ 51%]

....spRole.texture.sourceHeight = Laya.stage.height; //添加2D精灵, this.owner.addChild(this.spRole); this.spRole.pos(0, 0); this.spRole.size(Laya.stage.width, Laya.stage.height); }); 2025-01-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定,...

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

307. SphereCollider和MeshCollider碰撞检测的bug [ 51%]

...math.ContainmentType.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, ...

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

308. UNITY导出的模型旋转不了 [ 51%]

...此方法只执行一次 */ onAwake() { //得到3D对象 this.obj = this.owner; } onStart() { } /** * 覆写组件更新方法(相当于帧循环) */ onUpdate() { //所属脚本对象旋转更新 this.obj.transform.rotate(this.rotation, false, false) } onDisable() { console.log("组件设置为...

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

309. Laya3.0正式版spine3.8的动画资源不能正常显示 [ 51%]

...this.skeleton = new SpineSkeleton(); this.skeleton.templet = templet; this.owner.addChild(this.skeleton); this.skeleton.pos( this.pageWidth / 2, this.pageHeight / 2 + 100); this.skeleton.scale(0.4, 0.4); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); }); } private play(): void {...

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

310. laya.d3.component.animation.UVAnimations [ 51%]

...ad-only] 获取播放器当前动画的节点数量。 KeyframeAnimations owner : Sprite3D[read-only] 获取所属Sprite3D节点。 Component3D player : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D templet : Anim...

来源: laya_api 发布时间: 20170603