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

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

571. 请问Laya如何使用第三方物理库 [ 65%]

...ic Step() { this.world.step(1 / 60); }   再把CANNON.Body包装成组件 export class CannonRigidbody extends Laya.Script3D { static map: { [key: number]: Laya.Sprite3D } = {}; body: CANNON.Body; t: Laya.Transform3D; public onCollisionCB: (s: Laya.Sprite3D) => void; public ignoreRotate: boolean...

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

572. laya.d3.renderobjs.nativeobj.NativeBounds_API3.0 [ 65%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeBounds" NativeBounds Class NativeBounds Hierarchy NativeBounds Implements IClone Index Constructors constructor Properties MemoryBlock_size Accessors max min Methods _...

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

573. 如何拓展材质shader? [ 65%]

...rial   但在做材质属性拷贝的时候会出现不正确的结果   export default class LayaBlinnPhongExt extends Laya.BlinnPhongMaterial {     public CopyAttribute_ASKLaya(baseMat: Laya.BlinnPhongMaterial) {                var layaBlinnPhongExt:LayaBlinnPhongExt=this;    ...

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

574. UI怎么设置居中显示,显示到游戏窗口中 [ 65%]

...mespace uiview { import Event = Laya.Event; import Browser = Laya.Browser; export class ViewLogin extends ui.loginViewUI { constructor() { super(); this.smo this.visible = false; 我的问题是UI界面如何对齐,不是舞台。。 2018-02-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...

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

575. 位图切片组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 65%]

...实现脚本控制Clip: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Clip }) public clip: Laya.Clip; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this....

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

576. laya.d3.core.ui3d.UI3DGeometry_API3.0 [ 65%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/UI3D/UI3DGeometry" UI3DGeometry Class UI3DGeometry Hierarchy GeometryElement UI3DGeometry Index Properties _geometryElementOBj Accessors bufferState destroyed drawType indexFormat instanceC...

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

577. laya.d3.physics.shape.HeightfieldTerrainShape_API3.0 [ 65%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/HeightfieldTerrainShape" HeightfieldTerrainShape Class HeightfieldTerrainShape BoxColliderShape 类用于创建高度图地形形状碰撞器。 Hierarchy ColliderShape Heightfield...

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

578. laya.ani.bone.BoneSlot_API3.0 [ 65%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ani/bone/BoneSlot" BoneSlot Class BoneSlot Hierarchy BoneSlot Index Properties attachmentName currDisplayData currSlotData currTexture displayIndex name parent srcDisplayIndex templet type Methods ...

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

579. 水平滚动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 65%]

...脚本控制HScrollBar: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.HScrollBar }) public hscroll: Laya.HScrollBar; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(...

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

580. 垂直滚动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 65%]

...脚本控制VScrollBar: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.VScrollBar }) public vscroll: Laya.VScrollBar; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(...

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