大约有 1,264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
...(): void { this.sprite.loadImage("atlas/comp/image.png"); //纹理:图片路径 this.sprite.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置:屏幕中心 this.sprite.x = Laya.stage.width/2; //x、y分别设置位置 this.sprite.y = Laya.stage.height/2; this.sprite.size(51...
来源: Laya3.0_文档 发布时间: 20251010
...线性速度也可简称为线速度,是指刚体在运动中沿着直线路径的速度,而不考虑其旋转。 该属性用二维向量来表示,分别描述了刚体沿着X(水平方向)和Y轴(垂直方向)的线性速度分量。 并且,该向量值同时也是矢量值,包...
来源: Laya3.0_文档 发布时间: 20251010
...c(): string Defined in laya/device/media/Video.ts:244 获取当前播放源路径。 Returns string currentTime get currentTime(): number set currentTime(value: number): void Defined in laya/device/media/Video.ts:251 设置和获取当前播放头位置。 Returns number Defined in laya/device/media...
来源: Laya3.0_api 发布时间: 20231102
...tSrc(): string Defined in laya/media/VideoNode.ts:154 获取当前播放源路径。 Returns string currentTime get currentTime(): number set currentTime(value: number): void Defined in laya/media/VideoNode.ts:161 设置和获取当前播放头位置。 Returns number Defined in laya/media/VideoNode...
来源: Laya3.0_api 发布时间: 20231115