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

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

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

...示该组件的属性以供查询和编辑。 属性设置器面板如图1所示,从上到下通常为: 组件或节点名、**公用**属性、**常用**属性、**宽高及位置**、**旋转及缩放**、**其他**等等。 ![imgage](img/1.png) ​ (图1)属性面板分组 ## 1、`公用`...

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

642. 3D旋转如何做tween缓动?目前尝试了localRotationEuler,rotationEuler。 [ 77%]

...何做tween缓动?目前尝试了localRotationEuler,rotationEuler。 1.rotationEuler只有set方法,没有get方法,没办法做缓动。 2.localRotationEuler有get和set方法,但是有万向锁的问题(不知道是不是我理解错了)。 3.想参考 transform.rotate()转化为四...

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

643. laya.physics.RigidBody_API3.0 [ 77%]

...同步到物理世界 由于引擎限制,暂时不支持以下情形: 1.不支持绑定节点缩放 2.不支持绑定节点的父节点缩放和旋转 3.不支持实时控制父对象位移,IDE内父对象位移是可以的 如果想整体位移物理世界,可以Physics.I.worldRoot=场景...

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

644. 文本-字数限制 [ 77%]

... function createInput() { var inputText = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height >> 1; // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; in...

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

645. AS翻译成JS的时候能不能自动进行类型转换啊?不然每个地方都要手动在AS进行手动添加强制转换 [ 77%]

...要崩溃啊。都不知道哪里会出现因为类型不对导致的bug 2017-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自: 类型转换?能举个例子详细说明下...

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

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

...码运用,全面介绍时间轴动画编辑器的功能及使用。 > ## 1. 创建时间轴动画   **时间轴动画有两种创建方式**。一种是创建`.ani`文件的时间轴动画,另一种是在UI页面(`.ui`文件)内创建时间轴动画。   两种文件制作时间轴...

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

647. list item 添加事件后无法监听 [ 77%]

...t.itemRender = initItem(item_width, item_height);      list.repeatX = 1;     list.size(width, height);     list.x = x;     list.y = y;     list.vScrollBarSkin = "";      list.mouseHandler = new Handler(this, onSelect)     list.selectEnable = true;     list.selectHan...

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

648. laya.ui.VBox [ 77%]

...tring 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值...

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

649. laya.ui.TipManager [ 77%]

... 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值...

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

650. Canvas模式下不报错,WebGL模式下运行时报错 [ 77%]

...=args[4];                     ctx.fillRect(x+args[0],y+args[1],args[2],args[3],null);                 }                 if (args[5] !=null){                     ctx.strokeStyle=args[5];                     ctx.lineWidth=args[6];  ...

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