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

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

1291. laya.d3.core.ui3d.UI3D_API3.0 [ 35%]

...t Defined in laya/d3/core/render/BaseRender.ts:269 光照贴图的缩放和偏移。 Returns Vector4 Inherited from PixelLineRenderer.lightmapScaleOffset Defined in laya/d3/core/render/BaseRender.ts:273 光照贴图的缩放和偏移。 Parameters value: Vector4 Returns void material get material():...

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

1292. laya.display.Sprite [ 35%]

...行渲染,以提高性能(如果子对象有旋转缩放或者中心点偏移,则显示筛选会不精确)。 Sprite  parent : Node[override] Sprite  pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite...

来源: laya_api 发布时间: 20170929

1293. laya.physics.joint.WeldJoint_API3.0 [ 35%]

...置有效]关节的链接点,是相对于自身刚体的左上角位置偏移 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/WeldJoint.ts:20 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherBody otherBody: RigidBody Defined in laya/ph...

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

1294. laya.physics.joint.MouseJoint_API3.0 [ 35%]

...置有效]关节的链接点,是相对于自身刚体的左上角位置偏移,如果不设置,则根据鼠标点击点作为连接点 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean ...

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

1295. 为什么会出现报错 ani not found:ufo1_down [ 35%]

...就死了。    var Game = (function(){ (function Game(){ // 子弹发射偏移位置表 this.bulletPos = [[0],[-15,15],[-30,0,30],[-45,-15,15,45]]; // 关卡等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分成绩 this.score = 0; // 子弹级别 this.b...

来源: Laya_社区 发布时间: 20170525

1296. 设置滤镜(TypeScript-LayaAir基础篇(TS)-位图) [ 35%]

... 发光滤镜类 GlowFilter位于laya.filters包中,通过调整发光的偏移角度也可以当成阴影滤使用,参数说明如图2所示。注意:该滤镜只支持WebGL模式下有效。 ![图2](img/2.png) (图2) 点击 [laya.filters. GlowFilter](https://layaair2.ldc2.layabox.com/api2/Ch...

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

1297. 按钮组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 34%]

..., "resources/res/ui/button-6.png"]; // 计算将Button至于舞台中心的偏移量 this.xOffset = (Laya.stage.width - this.HORIZONTAL_SPACING * (this.COLUMNS - 1) - this.BUTTON_WIDTH) / 2; this.yOffset = (Laya.stage.height - this.VERTICAL_SPACING * (this.skins.length / this.COLUMNS - 1) - this.BUT...

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

1298. 设置滤镜(ActionScript-LayaAir基础篇(AS3)-位图) [ 34%]

... 发光滤镜类 GlowFilter位于laya.filters包中,通过调整发光的偏移角度也可以当成阴影滤使用,参数说明如图2所示。注意:该滤镜只支持WebGL模式下有效。 ![图2](img/2.png) (图2) 点击 [laya.filters. GlowFilter](https://layaair2.ldc2.layabox.com/api2/Ch...

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

1299. WebSocket通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 33%]

...操作原始字节数据所带来的复杂性,无需手动处理字节的偏移、转换和编码等问题。它使得开发者可以像操作普通数组一样便捷地处理二进制数据,提高了开发效率。 常见的 TypedArray 视图数据类型如下: 类型 说明 Uint8Array 用于...

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

1300. 为什么会出现报错 ani not found:ufo1_down [ 33%]

...就死了。    var Game = (function(){ (function Game(){ // 子弹发射偏移位置表 this.bulletPos = [[0],[-15,15],[-30,0,30],[-45,-15,15,45]]; // 关卡等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分成绩 this.score = 0; // 子弹级别 this.b...

来源: Laya_社区 发布时间: 20170525