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

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

331. laya.d3.physics.CharacterController [ 73%]

...er  maxSlope : Number 获取最大坡度。 CharacterController owner : Node [只读]获取所属Node节点。 Component restitution : Number 获取弹力。 PhysicsComponent rollingFriction : Number 获取滚动摩擦力。 PhysicsComponent simulation : PhysicsSimulation[read-only] 获取模...

来源: Laya2.0_api 发布时间: 20190513

332. ts 用 getChildByName 返回类型出错 [ 73%]

...yName 返回类型出错 ts 用 getChildByName 返回类型是laya.display.Node 如果返回的其实是 Text, 把它赋值给一个Laya.Text 编辑器就报错 这个怎么解决 var text:Laya.Text = someNode.getChildByName('textName'); [ts] Type 'Node' is not assignable to type 'Text'. Property ...

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

333. laya.display.AnimationBase [ 73%]

...laya.displayClasspublic class AnimationBaseInheritanceAnimationBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画基类,提供了基础的动画播放控制方法和帧标签事件相关功能。 可以继承此类,但不要直接实例化此类,因为有些方...

来源: Laya2.0_api 发布时间: 20190513

334. laya.ani.bone.Skeleton [ 72%]

... Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

来源: Laya2.0_api 发布时间: 20190513

335. [LayaAir3]3d场景中父节点脚本onDisable时删除子节点后子节点脚本onDisable取不到owner.scene [ 72%]

...点后子节点脚本onDisable取不到owner.scene 版本 3.2.5, 不知道Node._inActiveHierarchy函数里可不可以先把子节点的组件推入activeChangeScripts ---- 好像不妥,这么改子节点onDiasble删除父节点会导致父节点onDisable拿不到owner.scene 可能 Node._onRemov...

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

336. 加载模块报错 [ 72%]

...ule": "commonjs", "target": "es5", "sourceMap": true, "moduleResolution": "node", "lib": [ "dom", "es5" ] }, "exclude": [ // "node_modules" ] }报错 ReferenceError: exports is not defined 生成的js是Object.defineProperty(exports, "__esModule", { value: true }); var Collections = require("typescr...

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

337. 1.7.8新版本3d骨骼动画如何获取绑点呢 [ 72%]

...ene_Fire/Fire.lh"); 先查到节点 for(var i:int = 0;i<ani._avatarNodes.length;i++) { if(AnimationNode(ani._avatarNodes[i]).name == "weaponEffect") { animationNodeTemp = ani._avatarNodes[i]; break; } } 然后通过loop来设置 effectTemp.transform.worldMatrix = animationNodeTemp....

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

338. 用Unity插件导出的模型渲染报错 [ 72%]

...5*****924 • 2019-05-16 15:18 Utils3D._mulMatrixArray(this._cacheAnimationNode[index].transform.getWorldMatrix(),bindPoses[meshBindPoseInices[index]],data,k *16); this._skinnedDataLoopMarks[index]=Stat.loopCount; 源码里看到 this._cacheAnimationNode[index]这个值是undefined的 155*****924 ...

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

339. laya.physics.joint.PrismaticJoint [ 72%]

...刚体,可不设置,默认为左上角空刚体PrismaticJoint owner : Node [只读]获取所属Node节点。 Component  selfBody : RigidBody[首次设置有效]关节的自身刚体PrismaticJoint  upperTranslation : Number启用约束后,刚体移动范围的上限,是距离anchor的偏...

来源: Laya2.0_api 发布时间: 20190513

340. laya.display.AnimationPlayerBase [ 72%]

...Classpublic class AnimationPlayerBaseInheritanceAnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画播放基类,提供了基础的动画播放控制方法和帧标签事件相关功能。 可以继承此类,但不要直接实例化此类,因为有...

来源: laya_api 发布时间: 20170929