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

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

381. laya.display.Sprite [ 37%]

... cacheAs 为非空和非"none"时才有效。 2. 由于渲染的时机在脚本执行之后,也就是说当前帧渲染的是对象的最终属性,所以如果在当前帧渲染之前、设置静态缓存之后改变对象属性,则最终渲染结果表现的是对象的最终属性。 Impleme...

来源: laya_api 发布时间: 20170929

382. 获取位置信息 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...ximumAge }); } 在LayaAir IDE中,给Scene2D添加一个自定义的组件脚本,添加如下代码,实现鼠标点击后,获取地理位置。 const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { constructor() { super(); } onMouseClick(evt: Laya.Event...

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

383. laya.d3.physicscannon.CannonRigidbody3D_API3.0 [ 36%]

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

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

384. LayaAir开发笔记(1)五十音图连连看 [ 35%]

...代码敲下来出现了一些bug,不知道怎么解决,你与完整的js 脚本代码吗? websun • 2017-01-19 09:12 你好,我在点击此处开始游戏时, 出现了 gameStatue not define 并且我个人对card_A/B 这两个变量 不理解, 请问能给我一些帮助解答一下嘛? 多谢

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

385. laya.d3.core.render.BaseRender_API3.0 [ 32%]

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

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

386. laya.d3.core.MeshRenderer_API3.0 [ 31%]

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

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

387. laya.physics.joint.WheelJoint_API3.0 [ 30%]

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

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

388. laya.d3.physics.Rigidbody3D_API3.0 [ 30%]

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

389. laya.d3.core.SkinnedMeshRenderer_API3.0 [ 29%]

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

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

390. laya.d3.core.particleshuriken.ShurikenParticleRenderer_API3.0 [ 29%]

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

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