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

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

831. 3D场景里面怎么画线条 [ 48%]

...console.log("线段数量:", wayList.length);         this.mainScene.addChild(pl);         for (let i = 1; i < wayList.length; i++) {             pl.addLine(wayList[i - 1], wayList[i], Laya.Color.RED, Laya.Color.RED);         } 2019-11-19 0 2 ...

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

832. Laya2.0版本linkSprite3DToAvatarNode无法正常使用了,因为新插件导出的动画没有avatar文件了,导致挂载不上 [ 48%]

...下断点调试进入查看。   var actor = Laya.Loader.getRes("res/LayaScene_Actor/Conventional/XiaoHongMao.lh") as Laya.Sprite3D; var weapon = Laya.Loader.getRes("res/LayaScene_Item/Conventional/Wchangzhang01.lh") as Laya.Sprite3D; var animCtl = actor.getComponent(Laya.Animator);  scene.addChil...

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

833. laya.spine.SpineSkeleton_API3.0 [ 48%]

...ineSkeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag PAUSED PLAYING STOPPED drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY animationName blendMode cacheAs compon...

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

834. laya.display.EffectAnimation_API3.0 [ 48%]

...ctAnimation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendM...

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

835. laya.ani.bone.Skeleton_API3.0 [ 48%]

...te Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniMode animationName blendMode cacheAs components customRend...

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

836. 获取lh动画控制失败【已解决】 [ 48%]

...一:直接异步加载             var layaMonkey:Sprite3D = scene.addChild(Sprite3D.load(url+"LayaScene_sharedunity/sharedunity.lh")) as Sprite3D;                          var zombieAnimator:Animator =layaMonkey.getChildAt(0).getComponentByType(Animator) as Ani...

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

837. laya.media.VideoNode_API3.0 [ 48%]

...e VideoNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode buffered cacheAs components currentSrc currentTime ...

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

838. 2D网格渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

... 三、通过代码使用 在LayaAir-IDE中新建一个脚本,添加到Scene2D节点后,加入下述代码,实现一个2D网格渲染器的效果: const { regClass, property } = Laya; @regClass() export class Mesh2DRender extends Laya.Script { @property({type: Laya.Sprite}) private layaMonke...

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

839. laya.ui.TextInput_API3.0 [ 47%]

...a Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _tf _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borderColor bottom cacheAs c...

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

840. laya.ui.TextArea_API3.0 [ 47%]

...a Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _tf _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borderColor bottom cacheAs c...

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