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

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

161. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 50%]

...3(-20, 13, 0)); //获取动画组件 pangziAnimator = pangzi.getChildAt(0).getComponent(Laya.Animator); //AnimationClip的加载要放在Avatar加载完成之后 Laya.AnimationClip.load("res/threeDimen/skinModel/BoneLinkScene/Assets/Model3D/PangZi-Take 001.lani", Laya.Handler.create(null, function(a...

来源: Laya2.0_文档 发布时间: 20210715

162. laya.d3.physics.PhysicsComponent_API3.0 [ 50%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...

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

163. rigidBody.applyForce 物体不会移动 [ 50%]

...is.character = littleGirl; //獲取動畫組建 this.animator = littleGirl.getComponent(Laya.Animator) as Laya.Animator; this.playIdle(); this.rigidBody = this.character.getComponent(Laya.Rigidbody3D); Laya.timer.frameLoop(1, this, this.onKeyDown); //獲取照相機 var camera: Laya.Camera = littleG...

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

164. laya.physics.ChainCollider_API3.0 [ 50%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...

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

165. laya.display.AnimationBase_API3.0 [ 50%]

...rameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal gotoAndStop hasHideFlag hasListener...

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

166. laya.device.media.Video_API3.0 [ 50%]

...rameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf load load...

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

167. laya.display.FrameAnimation_API3.0 [ 50%]

...rameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal gotoAndStop hasHideFlag hasListener...

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

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

...Item/Conventional/Wchangzhang01.lh") as Laya.Sprite3D; var animCtl = actor.getComponent(Laya.Animator);  scene.addChild(actor); actor.addChild(weapon); animCtl.linkSprite3DToAvatarNode("RHand", weapon); animCtl.play("Idle01");   代码基本功能就是往人物的右手挂载一个武器,Laya1....

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

169. laya.d3.core.light.LightSprite [ 50%]

...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node hasListener(type:String):Boolean 检查 EventDispatcher 对象...

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

170. laya.spine.SpineSkeleton_API3.0 [ 50%]

...getAnimNum getBoneByName getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds getSkeleton getSlotByName get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFl...

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