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

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

171. 分享:intersects为何碰撞不准?碰撞框rectangle的坐标你设置对了吗? [ 42%]

...不变,我们改变注册点到图片正中心,如下图(图2) sp1.pivotX=sp1.width>>1; sp1.pivotY=sp1.height>>1;   然后我 rectangle1 = new Rectangle(0, 0, 172, 172); (前两个代表矩形框的坐标,后面是大小) 因为rectangle无法改变注册点,理论上如...

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

172. 时间轴动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 42%]

...选中组件,修改属性面板的值:`x`值为235,`y`值为100,`pivotX`值为50,`pivotY`值为100,`rotation`值为270。点击播放即可。 **属性解释:** `x`与`y`是组件的位置坐标。 `pivotX`与`pivotY`是组件的轴心点坐标x与y。 `rotation`是组件的旋转角...

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

173. 时间轴动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 42%]

...选中组件,修改属性面板的值:`x`值为235,`y`值为100,`pivotX`值为50,`pivotY`值为100,`rotation`值为270。点击播放即可。 **属性解释:** `x`与`y`是组件的位置坐标。 `pivotX`与`pivotY`是组件的轴心点坐标x与y。 `rotation`是组件的旋转角...

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

174. laya.ui.Button_API3.0 [ 42%]

...eColor labelVAlign left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect selected sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initial...

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

175. laya.ui.CheckBox_API3.0 [ 42%]

...eColor labelVAlign left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect selected sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initial...

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

176. laya.ui.Radio_API3.0 [ 41%]

...eColor labelVAlign left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect selected sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url value viewport visible width x y zOrder Methods _i...

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

177. laya.ui.List [ 41%]

...Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源。 List autoSize : Boolean = ...

来源: Laya2.0_api 发布时间: 20190513

178. laya.display.Input_API3.0 [ 41%]

...seY multiline nativeInput numChildren objContainer overflow padding parent pivotX pivotY prompt promptColor restrict rotation scaleX scaleY scene scrollRect scrollX scrollY singleCharRender skewX skewY stage staticCache stroke strokeColor templateVars text textHeight textWidth texture timer transfor...

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

179. laya.ui.TextInput_API3.0 [ 41%]

...h mouseEnabled mouseX mouseY multiline numChildren overflow padding parent pivotX pivotY prompt promptColor restrict right rotation scaleX scaleY scene scrollRect sizeGrid skewX skewY skin stage staticCache stroke strokeColor templateVars text textField texture timer toolTip top transform type ubb u...

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

180. laya.ui.TextArea_API3.0 [ 41%]

...h mouseEnabled mouseX mouseY multiline numChildren overflow padding parent pivotX pivotY prompt promptColor restrict right rotation scaleX scaleY scene scrollRect scrollType scrollX scrollY sizeGrid skewX skewY skin stage staticCache stroke strokeColor templateVars text textField texture timer toolT...

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