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

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

421. laya.physics.joint.MouseJoint_API3.0 [ 61%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] Defined in laya/physics/joint/MouseJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移,如果不设置,则...

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

422. 控制器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 61%]

...方式创建控制器: (图1-1) (图1-2) 创建成功后,如果节点是预制体的根节点,则可以在场景视图顶部快速切换这个控制器的页面,如图1-3所示: (图1-3) 点击‘Edit’按钮,或者上图的‘c’图标,进入控制器编辑页面,如...

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

423. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 61%]

...FillText组件在2.8版本之前只能添加在没有skin填充的空显示节点下,2.8开始,可以添加到任意UI节点下。 ### 二、位图显示文本组件 位图显示文本,是一种基于位图的文本,虽然显示的是文本的内容,其本质还是位图。通常用于系...

来源: Laya2.0_文档 发布时间: 20210715

424. laya.d3.component.volume.Volume_API3.0 [ 61%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Compone...

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

425. laya.physics.PolygonCollider_API3.0 [ 60%]

...多边形,如果是凹多边形,先手动拆分为多个凸多边形 节点个数最多是b2_maxPolygonVertices,这数值默认是8,所以点的数量不建议超过8个,也不能小于3个 Hierarchy ColliderBase PolygonCollider Index Constructors constructor Properties _extra _singleton f...

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

426. laya.physics.CircleCollider_API3.0 [ 60%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defi...

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

427. 3D资源释放不干净 [ 60%]

3D资源释放不干净 各位大仙,请问下节点是不是移除舞台就没引用了,还是要把所有赋值过的变量全部删了才算没有引用。   我用Laya.Resource.destroyUnusedResources();总感觉清理不干净,显存占用还是很多,其中我只锁了角色模型 不...

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

428. laya.events.Event [ 60%]

...事件数据。 Event  stopPropagation():void 阻止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。此方法不会影响当前节点 (currentTarget) 中的任何事件侦听器。 EventPublic Constants ConstantDefined By  ACTIVE_IN_HIERARCHY_CHANGED : String...

来源: laya_api 发布时间: 20170929

429. laya.physics.EdgeCollider_API3.0 [ 60%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defi...

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

430. 滤镜效果 · LayaAir3.3 · 引擎文档 · LAYABOX [ 60%]

....Image }) public img: Laya.Image; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //创建一个颜色滤镜对象 let colorFilter: Laya.ColorFilter = new Laya.ColorFilter(); //给Image组件添加颜色滤镜 this.img.filters =...

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