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

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

51. 我竟然被射线检测这个小功能给难了一天了 [ 59%]

...oid {     Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDownCb) } <em>privateem> onMouseDownCb(e:Laya.Event):void{ console.log("点击屏幕") // console.log("相机位置",this.camera.) this.camera.viewportPointToRay(new Laya.Vector2(Laya.stage.mouseX,Laya.stage.mouseY),this.ray) if(this.physics....

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

52. 动画状态机详解 · LayaAir3.0文档 · LAYABOX [ 58%]

...3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... <em>privateem> model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D) { ... this.model = animator.owner as Laya.Sp...

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

53. layaFlash 无法使用 Loader 加载外部SWF和图片 [ 54%]

...) { init(); } else { this.addEventListener(Event.ADDED_TO_STAGE,init); } } <em>privateem> function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new LoaderContext(false,ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onSwfLoad...

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

54. 3D粒子编辑模块 · LayaAir3.0文档 · LAYABOX [ 52%]

...停,销毁,清理对象池 export class Particle3D extends Sprite3D { <em>privateem> _isInited: boolean = false; <em>privateem> _filePath: string = null; <em>privateem> _particle: Laya.Sprite = null; <em>privateem> _shuriKenParticle3D: Array&lt;ShuriKenParticle3D&gt;= []; <em>privateem> _shurikenParticleSystem: Array&lt;ShurikenP...

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

55. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 52%]

...ya; @regClass() export class CameraMoveScript extends Laya.Script3D { /** @<em>privateem> */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number = 0; protected lastMouseY: number = 0; protected yawPitchRoll: Laya.Vector3 = new Laya.Vector3(); protected resultRotation: La...

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