大约有 655 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0085 秒)
Laya_社区(254) Laya2.0_文档(104) Laya3.0_api(98) laya_api(78) Laya2.0_api(77) Laya3.0_文档(41) Laya2.0_示例(2) Laya_示例(1)
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...
来源: laya_api 发布时间: 20170929
...1) 下面的代码在官方示例的基础上添加了一个点击事件,通过点击场景可以将猴子添加到对应的位置。([demo地址](https://layaair2.ldc2.layabox.com/demo2/?language=ch&category=3d&group=Advance&name=Scene2DPlayer3D))。 > 放置猴子 ```typescript //监听一...
来源: Laya2.0_文档 发布时间: 20210715
...列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获...
来源: Laya3.0_api 发布时间: 20231115
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 ...
来源: Laya3.0_api 发布时间: 20231115
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 ...
来源: Laya3.0_api 发布时间: 20231115
...Defined in laya/display/Node.ts:630 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 see #callLater() Parameters method: Function 要执行的函数名称。例如,functionName。 Returns void setChildIndex setChildIndex(node: Node, ind...
来源: Laya3.0_api 发布时间: 20231115
...ent Sprite Node EventDispatcher Object 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 VSlider 控件采用垂直方向。滑块轨道从下往上扩展,而标签位于轨道的左右两侧。 See alsolaya.ui.SliderPublic Properties Hide Inherite...
来源: laya_api 发布时间: 20170929
...话框打开和关闭,都会出发管理类的open和close事件 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭,点击窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Public Properties Hide Inherited Public ...
来源: laya_api 发布时间: 20170929
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 ...
来源: Laya3.0_api 发布时间: 20231115
...Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined IDE通过.ui自动生成的ui代码报错 新手开发游戏,求思路 官方新手游戏引导示例中关于hit和unHit的使用疑问 这样写的代码,Tween动画里面只有alpha有效果,scalex和scaley没有变化...
来源: Laya_社区 发布时间: 20171110