大约有 1,597 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1082) Laya3.0_api(185) Laya2.0_api(130) laya_api(125) Laya2.0_文档(36) Laya3.0_文档(26) Laya2.0_示例(7) Laya_示例(6)
...开启自定义渲染,才能使用customRender函数渲染。 Sprite dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 Box destroyed : Boolean = false[...
来源: Laya2.0_api 发布时间: 20190513
...lor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numC...
来源: Laya3.0_api 发布时间: 20231115
...例。 Returns Component 组件。 bubbleEvent bubbleEvent(type: string, data?: any): void Inherited from Node.bubbleEvent Defined in laya/display/Node.ts:145 Parameters type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLat...
来源: Laya3.0_api 发布时间: 20231115
...lor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numC...
来源: Laya3.0_api 发布时间: 20231115
...engjoeng 赞同来自: 解决办法:index.html里这样写 <script data-main="./LayaSample.js" src="node_modules/requirejs/require.js"></script> 2017-12-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zengjoeng 相...
来源: Laya_社区 发布时间: 20171116
... 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frame...
来源: laya_api 发布时间: 20170929
...例。 Returns Component 组件。 bubbleEvent bubbleEvent(type: string, data?: any): void Inherited from Node.bubbleEvent Defined in laya/display/Node.ts:145 Parameters type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLat...
来源: Laya3.0_api 发布时间: 20231115
... clip : AnimationClip 获取默认动画片段。 Animator curAnimationDatas : Vector.<Float32Array>[read-only] 获取骨骼数据。 Animator currentFrameIndex : int[read-only] 获取当前帧数 Animator currentFrameTime : Number[read-only] 获取当前帧时间,不包括重播...
来源: laya_api 发布时间: 20170929
...nvas:= htmlCanvas.getCanvas();//获取原生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, ...
来源: laya_api 发布时间: 20170929
... scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_dataSource set_height set_scaleX set_scaleY set_transform set_visible set_width size skew startDrag stopDrag timerLoop timerOnce toParentPoint updateZOrder close closeAll destroy fromImage gc hideLoadingPage load open setLoad...
来源: Laya3.0_api 发布时间: 20231115