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

大约有 450 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)

81. 属性设置器(ActionScript-IDE篇(AS3)-设计模式基础) [ 73%]

...到约束框的大小,例如CheckBox。* ### 3.3 UI适配属性 `leftright、top、bottom`四个属性主要用于组件与父容器边缘距离位置适配。 `centerX、centerY`两个属性主要用于组件与父容器中心位置适配。 在游戏开发中,我们不可能把所有屏幕...

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

82. laya.maths.Vector3_API3.0 [ 72%]

...三维向量的和。 Parameters a: Vector3 left三维向量。 b: Vector3 right三维向量。 out: Vector3 输出向量。 Returns void Static cross cross(a: Vector3, b: Vector3, o: Vector3): void Defined in laya/maths/Vector3.ts:297 求两个三维向量的叉乘。 Parameters a: Vector3 left向...

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

83. laya.d3.math.Vector3_API3.0 [ 72%]

...三维向量的和。 Parameters a: Vector3 left三维向量。 b: Vector3 right三维向量。 out: Vector3 输出向量。 Returns void Static cross cross(a: Vector3, b: Vector3, o: Vector3): void Defined in laya/d3/math/Vector3.ts:297 求两个三维向量的叉乘。 Parameters a: Vector3 left...

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

84. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 72%]

...2", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name": "folder", "clipX": "1", "skin": "ui/clip_tree_folder.png", "clipY": "3"}}, {"type": "Label", "props": {"y": "1", "text": "treeItem", "width"...

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

85. HBox如何实现根据它的父节点的宽高来实现100%填充 [ 71%]

...信 cuixueying 赞同来自: 设置HBox(子节点)的top bottom left right为0看看! 2017-08-31 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ant2004eq 相关问题 微信关系链:LayaAir引擎针对微信小游戏好友关系...

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

86. APP打包后运行效果与调试效果不一致(sprite,child) [ 71%]

...    childs.sort(this.sortHandler); } public sortHandler(left:Laya.Sprite,right:Laya.Sprite):number{    return left.y-right.y; }   这样实现 当前Sprite里面的可移动sprite元素Y轴小的永远被Y轴大的遮挡,在IDE调试没有问题,但是打包APP(单机)在安卓机器上...

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

87. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 71%]

...te isleft: boolean = false;     /** 是否向右移动*/     private isright: boolean = false;     constructor() {         super();         this.packageName = "Game";         this.resName = "Main";         this.isFullWindow = true;     }      /**      * 初始化组件 ...

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

88. 想要找设置相对坐标后的view全局坐标,发现有问题,请教一下. [ 71%]

...标 x,y, view 坐标设置为相对于scene的相对坐标, 即: left top right bottom centerX centerY userPanel 坐标设置为相对于view的相对坐标, 即: left top right bottom centerX centerY   现在想要获取 userPanel 的stage 全局坐标, 请教一下, 怎么获取? 附件 : --> 20...

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

89. 缓动-时间线 [ 70%]

...target.pos(100,100); } function createTimerLine() { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0.5},2000,null,0) .addLabel("turnDown",0).to(target,{x:450, y:300, scaleX:0.2, scaleY:1, alpha:1},2000,null,0) .addLabel("turnLeft",0).to(target,{x:100, y:300, scaleX:1, s...

来源: Laya_示例 发布时间: 20240930

90. 缓动-时间线 [ 69%]

...上个动画的偏移时间(单位:毫秒) this.timeLine.addLabel("turnRight", 0).to(this.target, {x:450, y:100, scaleX:0.5, scaleY:0.5}, 2000, null, 0) .addLabel("turnDown", 0).to(this.target, {x:450, y:300, scaleX:0.2, scaleY:1, alpha:1}, 2000, null, 0) .addLabel("turnLeft", 0).to(this.target, {...

来源: Laya2.0_示例 发布时间: 20240930