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

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

611. 纹理集包含多个动作的时候按照技术文档写出来的不能正常播放呢? [ 46%]

...ZONE 微信 cuixueying 赞同来自: 1、你的动画资源没有预加载 public function Action() { init(); } private function init():void { Laya.loader.load("../res/zy/zy.json",Handler.create(this,onLoadedSource),null,Loader.ATLAS); } private function onLoadedSource():void { roleAni = new Animati...

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

612. 在安卓手机上drawToTexture不能正确返回纹理对象,是HTMLCanvas [ 45%]

...不对    private _agentTexture: any; private _agent:Laya.Sprite;    public startDrag(dragCom: Laya.Sprite, touchID: number, sourceData?: any): void {let bounds = dragCom.getSelfBounds(); this._agentTexture = Laya.Sprite.drawToTexture(dragCom,Laya.SpriteConst.TEXTURE,bounds.width, bounds.height,...

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

613. UI-RefreshList [ 45%]

....create(this, function(){ this.initView(); })); } /** 初始化场景 * */ public initView(): void{ // 加载并添加场景中需要使用的资源 this.baseBox = new Box(); this.baseBox.width = 443; this.baseBox.height = 622; this.baseBox.pos(30, 28); this.baseBox.bgColor = "#ffffff"; // 加载进...

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

614. 2D寻路 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...pt { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite }) public hit: Sprite; private _temp: Sprite; private _allAgent: Nav2DAgent[] = []; private findCompents(lists: any[], sprite: Sprite, componentType: typeof Component) { let comp = sprite.getComponent(componentType); if (comp !=...

来源: Laya3.0_文档 发布时间: 20251010

615. laya.d3.component.hlod.HLOD_API3.0 [ 44%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/HLOD/HLOD" HLOD Class HLOD Hierarchy Component HLOD Index Constructors constructor Properties _extra _singleton owner runInEditor s...

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

616. Laya.util.Ease这个类是用来配合Tween的,可是怎么使用?没有任何资料啊。 [ 44%]

...提交 3 个回复 youhong168 赞同来自: shaotianhk backOut () method  public static function backOut(t:Number, b:Number, c:Number, d:Number, s:Number = 1.70158):Number开始运动时是朝目标移动,稍微过冲,再倒转方向回来朝着目标。 Parameters  t:Number — 指定当前...

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

617. laya.display.BitmapFont_API3.0 [ 44%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/BitmapFont" BitmapFont Class BitmapFont BitmapFont 是位图字体类,用于定义位图字体信息。 字体制作及使用方法,...

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

618. laya.physics.joint.GearJoint_API3.0 [ 44%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/GearJoint" GearJoint Class GearJoint 齿轮关节:用来模拟两个齿轮间的约束关系,齿轮旋转时,产生的动量...

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

619. laya.resource.HTMLCanvas_API3.0 [ 44%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/HTMLCanvas" HTMLCanvas Class HTMLCanvas HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。 Hierarchy Reso...

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

620. laya.d3.core.Transform3D_API3.0 [ 44%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Transform3D" Transform3D Class Transform3D Transform3D 类用于实现3D变换。 Hierarchy EventDispatcher Transform3D NativeTransform3...

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