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

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

131. laya.d3.component.hlod.HLOD_API3.0 [ 42%]

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

132. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...} private onConnectError(): void { console.log("Connection Error"); } } 将脚本添加到场景中运行,我们看到控制台中的打印如图2-1所示。 (图2-1) 3.2.4 二进制图像传输示例 有的时候,可能需要从服务端读取二进制图像并显示,这里我们给出一...

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

133. laya.physics.joint.RevoluteJoint_API3.0 [ 42%]

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

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

134. 学会编写d.ts声明文件(TypeScript-IDE篇(TS)-代码模式基础) [ 42%]

...文件 如果库的源码本身就是由TS 写的,那么在使用 `tsc` 脚本将 TS 编译为 js 的时候,添加 `declaration` 选项,就可以同时也生成 `.d.ts` 声明文件了。 我们可以在命令行中添加 `--declaration`(简写 `-d`), 或者在 `tsconfig.json` 中添加 ...

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

135. laya.physics.joint.MouseJoint_API3.0 [ 40%]

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

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

136. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 40%]

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

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

137. laya.d3.component.animator.Animator_API3.0 [ 40%]

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

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

138. laya.physics.joint.WheelJoint_API3.0 [ 40%]

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

139. laya.d3.component.volume.Volume_API3.0 [ 39%]

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

140. laya.d3.component.Script3D [ 39%]

...class Script3DInheritanceScript3D Component Object Script3D 类用于创建脚本的父类,该类为抽象类,不允许实例。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已经销毁 。 Compon...

来源: Laya2.0_api 发布时间: 20190513