大约有 508 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)
Laya_社区(258) Laya2.0_文档(95) Laya3.0_文档(81) Laya3.0_api(66) Laya2.0_api(4) laya_api(3) Laya_示例(1)
...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
... (图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
...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
...。 (动图2-7) 三、通过代码使用 在LayaAir-IDE中新建一个脚本,添加到Scene2D节点后,加入下述代码,实现一个光遮挡器的效果: const { regClass, property } = Laya; @regClass() export class LightOccluder extends Laya.Script { private spotLight: Laya.Sprite = ...
来源: Laya3.0_文档 发布时间: 20251010
...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
...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
...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
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Inherited from ConstraintComponent.disableCollisionsBetweenLinkedBodies Defined in laya/d3/physics/constraints/ConstraintC...
来源: Laya3.0_api 发布时间: 20231115
...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
...,新版粒子系统;由于layaAir3D并不支持导出原始unity中的脚本组件,unity中的自定义shader , 操作过程中,请把unity中跟场景无关的东西,全部删掉。如还有问题,跟帖下资源,打成unitypackage压缩后发我! 2017-03-08 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170112