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

大约有 759 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0087 秒)

31. 灯光-方向光 [ 87%]

...res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 40, 70); }); var _quaternion = new Laya.Quaternion...

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

32. Sprite-节点控制 [ 87%]

...dule laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_NodeControl { private ape1: Sprite; private ape2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(B...

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

33. laya.d3.component.animation.SkinAnimations [ 86%]

...sses | Index | Frames No Frames SkinAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class SkinAnimationsInheritanceSkinAnimations KeyframeAnimations Component3D EventDispatcher Object SkinAnimations 类用于创建蒙皮动画组件。 Public Properties H...

来源: laya_api 发布时间: 20170929

34. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 86%]

...示ExpandPage界面)package game { import laya.display.Sprite; import laya.events.Event; public class Btn { private var _owner:Sprite; private var _isScal:Boolean; public function Btn() { trace("btn的附加类已经开始执行"); } //设置owner函数,可以直接获取到Button组件的实例 p...

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

35. Sprite-轴心点 [ 86%]

...dule laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Pivot { private sp1: Sprite; private sp2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.c...

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

36. 灯光-聚光 [ 86%]

...res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 115, 150); }); var _quaternion = new Laya.Quaterni...

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

37. laya.d3.animation.AnimationClip [ 86%]

...l, constructParams:Array = null):AnimationClip[static] AnimationClip  addEvent(event:AnimationEvent):void 添加动画事件。 AnimationClip  duration():Number 获取动画片段时长。 AnimationClip  load(url:String, complete:Handler):void[static] 加载动画片段。 AnimationClipProtect...

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

38. 灯光-点光 [ 86%]

...res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); ...

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

39. 动画播放完后,怎么知道?Animation.play() [ 85%]

...接 提交 1 个回复 qian 赞同来自: 只播放一次获取回调需要Event.STOPPED 循环播放,获取每次播放完成是Event.COMPLETE 2018-01-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 fenxw 相关问题 骨骼动画...

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

40. Texture内存回收(ActionScript-2D进阶篇(AS3)-性能优化) [ 85%]

...e { import laya.display.Animation; import laya.display.Sprite; import laya.events.Event; import laya.events.Keyboard; import laya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800...

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