大约有 373 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)
...ysics.I.worldRoot=场景,然后移动场景即可 可以通过IDE-"项目设置" 开启物理辅助线显示,或者通过代码PhysicsDebugDraw.enable(); Hierarchy Component RigidBody Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPa...
来源: Laya3.0_api 发布时间: 20231115
...p" FontClip Class FontClip 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应的字体内容sheet(如果多行,可以使用空格换行),示例: fontCli...
来源: Laya3.0_api 发布时间: 20231115
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...
来源: Laya3.0_api 发布时间: 20231115
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...
来源: Laya3.0_api 发布时间: 20231115
...,仅用于UI制作的参照。 **页面宽度**: 页面的宽,设置后超过宽度不会被计算,勾选“仅作为参考宽度”后,需要实时计算宽度,对性能会产生额外的压力,不建议勾选。 **页面高度**: 页面的高,设置后超过高度...
来源: Laya2.0_文档 发布时间: 20210715
...ion Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree...
来源: Laya3.0_api 发布时间: 20231115
...ossyScale(value: Vector3): void Defined in laya/d3/core/Transform3D.ts:801 设置世界缩放。 某种条件下设置该值可能不正确(例如:父节点有缩放,子节点有旋转),缩放会倾斜,无法使用Vector3正确表示,必须使用Matrix3x3矩阵才能正确表示。 Param...
来源: Laya3.0_api 发布时间: 20231115
...s MethodDefined By Graphics()Graphics alpha(alpha:Number):AlphaCmd 设置透明度。 Graphics clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不...
来源: Laya2.0_api 发布时间: 20190513
...时,因为LayaAir 3D引擎支持多摄像机,因此也可以在unity中设置多个摄像机并导出,关于多摄像机的视口设置请查看本课最后的**“多摄像窗口机使用”**小节。 ### 在Unity中编辑摄像机 在Unity中创建一个Camera摄像机。查看摄像机面...
来源: Laya2.0_文档 发布时间: 20210714
...转摄像机时,预览中的视野会随着改变,当然其他的参数设置也会有所变化,后面我们会详细讲解。 通过图2-2所示,LayaAir中摄像机具备如下一些参数设置,这些参数能够很好的满足项目的需要,红色的参数会是我们常用的设置 ...
来源: Laya3.0_文档 发布时间: 20251010