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

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

1111. Sprite-遮罩-放大镜 [ 61%]

.../res/bg2.png", Handler.create(this, setup)); } private function setup(_e:*=null):void { var bg:Sprite = new Sprite(); bg.loadImage("../../../../res/bg2.png"); Laya.stage.addChild(bg); bg2 = new Sprite(); bg2.loadImage("../../../../res/bg2.png"); Laya.stage.addChild(bg2); bg2.scale(3, 3); //创建mas...

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

1112. laya.physics.Physics_API3.0 [ 61%]

... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...

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

1113. laya.d3.component.AnimatorControllerLayer_API3.0 [ 61%]

...urns void getAnimatorState getAnimatorState(name: string): AnimatorState | null Defined in laya/d3/component/AnimatorControllerLayer.ts:159 获取动画状态。 Parameters name: string Returns AnimatorState | null 动画状态。 getCurrentPlayState getCurrentPlayState(): AnimatorPlayState Defined ...

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

1114. 鼠标交互-滑动 [ 61%]

...ild(graph); } /**按下事件处理*/ private function onMouseDown(e:Event=null):void { //添加鼠标移到侦听 Laya.stage.on(Event.MOUSE_MOVE, this, onMouseMove); buttonPosition = button.x; Laya.stage.on(Event.MOUSE_UP, this, onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, onMouseUp); } /**移...

来源: Laya2.0_示例 发布时间: 20251219

1115. Sprite-遮罩-放大镜 [ 61%]

.../res/bg2.png", Handler.create(this, setup)); } private function setup(_e:*=null):void { var bg:Sprite = new Sprite(); bg.loadImage("../../res/bg2.png"); Laya.stage.addChild(bg); bg2 = new Sprite(); bg2.loadImage("../../res/bg2.png"); Laya.stage.addChild(bg2); bg2.scale(3, 3); //创建mask maskSp = n...

来源: Laya2.0_示例 发布时间: 20251219

1116. laya.ui.Label_API3.0 [ 61%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...

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

1117. laya.ui.Tab_API3.0 [ 61%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...

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

1118. laya.ani.bone.BoneSlot_API3.0 [ 61%]

...据数据的名称 currDisplayData currDisplayData: SkinSlotDisplayData | null Defined in laya/ani/bone/BoneSlot.ts:32 显示对象对应的数据 currSlotData currSlotData: SlotData Defined in laya/ani/bone/BoneSlot.ts:28 当前插槽对应的数据 currTexture currTexture: Texture | null Defined i...

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

1119. laya.d3.component.animator.Animator_API3.0 [ 61%]

...te之前执行,只会执行一次 Returns void play play(name?: string | null, layerIndex?: number, normalizedTime?: number): void Defined in laya/d3/component/Animator/Animator.ts:1503 播放动画。 Parameters Default value name: string | null = null 如果为null则播放默认动画,否则...

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

1120. LayaNative 是不是不支持3D啊 [ 60%]

...e.version/lib ... js:1: TypeError: Cannot read property 'createTexture' of null                                             s.completeCreate()},n.disposeResource=function(){this._source&&(V.mainContext.deleteTexture(this._so                               ...

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