大约有 252 项符合查询结果, 库内数据总量为 30,973 项。 (搜索耗时: 0.0056 秒)
...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...
来源: laya_api 发布时间: 20170603
...点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D&...
来源: laya_api 发布时间: 20170929
...对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果...
来源: laya_api 发布时间: 20170929
...画状态。每个状态,可以创建多个到其它状态的切换。 通过下图,可以清晰了解这四个部分的关系,如图1-1所示: (图1-1) 二、动画状态机组件 我们需要播放动画以及使用动画状态机的对象都需要添加 Animator 组件,该组件是...
来源: Laya3.0_文档 发布时间: 20240910
...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...
来源: laya_api 发布时间: 20170929
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...
来源: Laya2.0_api 发布时间: 20190513
...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...
来源: laya_api 发布时间: 20170929
...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽...
来源: Laya2.0_api 发布时间: 20190513
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...
来源: laya_api 发布时间: 20170929
...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...
来源: Laya2.0_api 发布时间: 20190513