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

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

441. laya.d3.physics.PhysicsTriggerComponent_API3.0 [ 49%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Comp...

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

442. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

... (图3-2) 在图2-21的surface节点上创建一个自定义的组件脚本: import Sprite = Laya.Sprite; import Component = Laya.Component; import Nav2DAgent = Laya.Nav2DAgent; const { regClass, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标...

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

443. laya.d3.core.light.PointLightCom_API3.0 [ 49%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node...

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

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

...。 (动图2-7) 三、通过代码使用 在LayaAir-IDE中新建一个脚本,添加到Scene2D节点后,加入下述代码,实现一个光遮挡器的效果: const { regClass, property } = Laya; @regClass() export class LightOccluder extends Laya.Script { private spotLight: Laya.Sprite = ...

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

445. laya.d3.component.Animator_API3.0 [ 49%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 cullingMode cullingMode: number = Animator.CULLINGMODE_CULLCOMPLETELY Defined in laya/d3/component/Animator.ts:95 裁剪模式 owner owner: Node Inherited from Component.owner Defined in laya/components/Component...

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

446. laya.d3.core.light.SpotLightCom_API3.0 [ 49%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node...

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

447. Native(android)下创建二维码并显示在页面上 [ 48%]

...endencies)里添加: implementation 'com.google.zxing:core:3.3.0'   // ts脚本,点击按钮创建二维码并显示     private onBtnClickShare() {         let base64OfQrCode:string = androidplat.createQrCode("https://www.layabox.com/", 180, 180);         if (base64O...

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

448. laya.d3.physics.constraints.FixedConstraint_API3.0 [ 48%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Inherited from ConstraintComponent.disableCollisionsBetweenLinkedBodies Defined in laya/d3/physics/constraints/ConstraintC...

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

449. laya.d3.component.volume.volumetricgi.VolumetricGI_API3.0 [ 48%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 intensity intensity: number Defined in laya/d3/component/Volume/VolumetricGI/VolumetricGI.ts:55 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点...

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

450. unity怎么导出laya能用的粒子特效文件 骨骼动画文件。需要什么插件,和需要怎么操作来实现? [ 48%]

...,新版粒子系统;由于layaAir3D并不支持导出原始unity中的脚本组件,unity中的自定义shader , 操作过程中,请把unity中跟场景无关的东西,全部删掉。如还有问题,跟帖下资源,打成unitypackage压缩后发我! 2017-03-08 0 0 分享 微博 QZONE ...

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