大约有 3 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0029 秒)
...default class CameraControll extends Laya.Script { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public distanceAway: number = 10;//相机与目标的水平距离参数 public smo...
来源: Laya3.0_文档 发布时间: 20251010
...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均...
来源: Laya3.0_文档 发布时间: 20251010
...yaScene_AAA`。 ##### 3.3.3 场景导出与预设导出的区别 Scene3D与Sprite3D分别是场景导出的配置项和预设导出的配置项。如下图所示。  ##### 场景 `Scene3D` 采用`Scene3D(场景)`选项导出,会导出整个场景,无论场景中的模型、...
来源: Laya2.0_文档 发布时间: 20210714