大约有 268 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0057 秒)
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...
来源: 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
...类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不同的画布大小,画布越大,渲染压力越大,所以要选择合适的适配方案。 Stage提供不同的帧率模...
来源: 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
...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽...
来源: Laya2.0_api 发布时间: 20190513
... 场景光照贴图就是为了解决这个问题,其优点就是可以通过较少的性能消耗使静态场景看上去更加真实,丰富,更具有立体感。缺点就在于不能实时的处理动态光照。 光照贴图建议通过 unity3D 编辑器烘焙好光照贴图之后导出...
来源: Laya2.0_文档 发布时间: 20210715
... 场景光照贴图就是为了解决这个问题,其优点就是可以通过较少的性能消耗使静态场景看上去更加真实,丰富,更具有立体感。缺点就在于不能实时的处理动态光照。 光照贴图建议通过 unity3D 编辑器烘焙好光照贴图之后导出...
来源: Laya2.0_文档 发布时间: 20210715
...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
...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
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...
来源: Laya3.0_api 发布时间: 20231115