大约有 37 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
...icsDebugDrawInheritancePhysicsDebugDraw Sprite Node EventDispatcher Object 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...
来源: Laya2.0_api 发布时间: 20190513
...多信息请参考 Matrix Stage useRetinalCanvas : Boolean = false使用物理分辨率作为canvas大小,会改进渲染效果,但是会降低性能Stage viewport : Rectangle 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使...
来源: Laya2.0_api 发布时间: 20190513
...包传到手机里,通过点 本地安装 按钮来安装。 3.2.3 保持物理线路连接以及授权 对于比较有相关经验的开发者,确保USB手机连接线物理线路是已连接状态,并且USB调试授权也没问题的,可以跳过本步骤。 相关操作如下: 1、先...
来源: Laya3.0_文档 发布时间: 20251010
...ls "laya/physics/PhysicsDebugDraw" PhysicsDebugDraw Class PhysicsDebugDraw 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPr...
来源: Laya3.0_api 发布时间: 20231115
...eRetinalCanvas: boolean = false Defined in laya/display/Stage.ts:171 使用物理分辨率作为canvas大小,会改进渲染效果,但是会降低性能 Static ALIGN_BOTTOM ALIGN_BOTTOM: string = "bottom" Defined in laya/display/Stage.ts:95 画布垂直居下对齐。 Static ALIGN_CENTER ALIGN_C...
来源: Laya3.0_api 发布时间: 20231115
...mulation(): PhysicsSimulation Defined in laya/d3/core/scene/Scene3D.ts:669 物理模拟器。 Returns PhysicsSimulation pivotX get pivotX(): number set pivotX(value: number): void Inherited from Text.pivotX Defined in laya/display/Sprite.ts:926 X轴 轴心点的位置,单位为像素,默认为0...
来源: Laya3.0_api 发布时间: 20231115
...候使用 TypedArray? 处理大规模数值计算(如音频、视频、物理仿真)。 与Web APIs 交互(如 WebGL、fetch、Web Audio)。 需要高性能访问 ArrayBuffer 数据时。 什么时候使用 DataView? 需要读取不同的数据类型(如 Int16、Float32 混合使用)...
来源: Laya3.0_文档 发布时间: 20251010