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

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

31. laya.components.Script_API3.0 [ 68%]

...t: Event): void Defined in laya/components/Script.ts:128 鼠标按住一个物体后,拖拽时执行 Parameters evt: Event Returns void Optional onMouseDragEnd onMouseDragEnd(evt: Event): void Defined in laya/components/Script.ts:133 鼠标按住一个物体,拖拽一定距离,释放鼠标按...

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

32. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 66%]

...ableTest的用法。这个新加的菜单, 如果场景中没有选中的物体,则会显示变灰并且无法触发点击回调。 class AnyName { static testEnable() { return Editor.scene.getSelection().length > 0; } @IEditor.menu("Hierarchy/test", { enableTest: ()=> AnyName.testEnable()...

来源: Laya3.0_文档 发布时间: 20240918

33. laya.physics.joint.WeldJoint_API3.0 [ 65%]

... WeldJoint Class WeldJoint 焊接关节:焊接关节的用途使两个物体不能相对运动,受到关节的限制,两个刚体的相对位置和角度都保持不变,看上去像一个整体 Hierarchy JointBase WeldJoint Index Constructors constructor Properties _extra _singleton ancho...

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

34. laya.physics.joint.DistanceJoint_API3.0 [ 64%]

...oint/DistanceJoint" DistanceJoint Class DistanceJoint 距离关节:两个物体上面各自有一点,两点之间的距离固定不变 Hierarchy JointBase DistanceJoint Index Constructors constructor Properties _extra _singleton collideConnected otherAnchor otherBody owner runInEditor scriptPath...

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

35. laya.physics.joint.PrismaticJoint_API3.0 [ 63%]

...PrismaticJoint Class PrismaticJoint 平移关节:移动关节允许两个物体沿指定轴相对移动,它会阻止相对旋转 Hierarchy JointBase PrismaticJoint Index Constructors constructor Properties _extra _singleton anchor axis collideConnected otherBody owner runInEditor scriptPath self...

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

36. 你先用Laya.timer.frameLoop 然后再用tween才可以生效 直接用tween没用 [ 62%]

...复问题请先登录 发起人 zzy0371 相关问题 缓动Tween能用在3D物体或者特效上面吗? anchor锚点设置不生效 3D模型tween旋转 图片添加点击事件 有的不生效 这样写的代码,Tween动画里面只有alpha有效果,scalex和scaley没有变化,怎么回事...

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

37. 使用3D摄像机 · LayaAir3.0文档 · LAYABOX [ 62%]

...如果场景内没有摄像机,那么游戏画面内就不会显示任何物体。场景中的摄像机还可以放置在场景中的子节点中,比如添加到主角角色模型中,同样可以呈现3D画面。 在LayaAir引擎中,我们可以有一个摄像机,也可以有多个摄像...

来源: Laya3.0_文档 发布时间: 20231214

38. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 61%]

...ed in laya/d3/physics/constraints/ConstraintComponent.ts:81 连接的两个物体否进行碰撞检测 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEdit...

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

39. 缓动 · LayaAir3.0文档 · LAYABOX [ 61%]

...比较僵硬。不符合物理世界的规律,真实的运动状态下,物体的速度会随着运动状态发生变化的。 2.2 加速运动(expoIn) 以零速率开始运动,然后在执行时加快运动速度。 2.3 快速加速运动(strongIn) 以零速率开始运动,然后...

来源: Laya3.0_文档 发布时间: 20230726

40. 没有人尝试使用3d物理引擎么 [ 61%]

...aya.timer驱动cannon解算物理变化,然后不断把cannon世界里的物体变化实时赋值给laya场景里的物体,但感觉效率有点低啊……   比如: package { import laya.d3.core.BaseCamera; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core...

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