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

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

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.3 · 引擎文档 · LAYABOX [ 65%]

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

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

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. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

... 三、2D导航代理 导航代理导航系统中用于控制角色或物体等寻路对象,在导航网格上移动和寻路的组件。它寻路对象与导航系统交互的主要组件,负责处理寻路对象的移动、避障和路径规划。该组件实现寻路对象在复杂...

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

35. 2D光遮挡器与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...够处理复杂的光线投射和遮挡计算,可以用来模拟墙壁、物体等对光线的遮挡。 二、在LayaAir-IDE中使用 在LayaAir-IDE中使用2D光遮挡器,首先需要添加2D灯光(方向光、精灵光、自由形态光、聚光灯)并勾选“启用阴影”,如图2-1...

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

36. 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

37. 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

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

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

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

39. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

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

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

40. 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