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

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

491. 如何在游戏入口处获取对象的子对象 [ 90%]

...er; var Sprite = Laya.Sprite; var MapLayer = Laya.MapLayer; var loadMap = (function (_super) { function loadMap() { loadMap.super(this); } Laya.class(loadMap,"loadMap",_super); var _proto = loadMap.prototype; _proto.init = function() { this.num = ""; this.map = new TiledMap(); } _proto.showMap = fun...

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

492. 使用插件导出模型后,使用js加载ls文件,报错Laya.Scene.load is not a function [ 90%]

...导出模型后,使用js加载ls文件,报错Laya.Scene.load is not a function 我使用插件导出模型后,用官网的例子加载模型,报错Laya.Scene.load is not a function。 加载代码部分如下: Laya3D.init(1000, 800); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage...

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

493. laya.d3.core.glitter.Glitter [ 90%]

... 通过位置和速度添加刀光。 Glitter clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():* 克隆。 Sprite3D  cloneTo(destObject:*):void[override] Glitter contains(node:Node):Boolean 当前容器是否包含指定的 Node 节...

来源: laya_api 发布时间: 20170929

494. 原生js如何调用laya里的方法? [ 90%]

...不知道怎么访问与调用,找了好多的方法都没法使用: (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+...

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

495. laya.utils.Mouse [ 90%]

...pertycursor:String 设置鼠标样式 Implementation     public static function get cursor():String    public static function set cursor(value:String):voidConstructor DetailMouse()Constructorpublic function Mouse()Method Detailhide()method public static function hide():void 隐藏鼠标 show...

来源: laya_api 发布时间: 20170929

496. laya.d3.animation.KeyframeNodeList [ 90%]

...countpropertycount:int 获取节点个数。 Implementation     public function get count():int    public function set count(value:int):voidConstructor DetailKeyframeNodeList()Constructorpublic function KeyframeNodeList() 创建一个 KeyframeNodeList 实例。 Method DetailgetNodeByIndex()m...

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

497. laya.d3.resource.models.SkyRenderer [ 90%]

...ropertymaterial:BaseMaterial 获取材质。 Implementation     public function get material():BaseMaterial    public function set material(value:BaseMaterial):voidmeshproperty mesh:SkyMesh 获取网格。 Implementation     public function get mesh():SkyMesh    public function set ...

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

498. 动画-新版骨骼动画 [ 90%]

...el/Zombie/new/Zombie.lh")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, function () { //获取Animator动画组件 zombieAnimator = zombie.getChildAt(0).getComponentByType(Laya.Animator); loadUI(); }); function loadUI() { var clipName = ["walk","attack","left_fall","right_fall","back_fall"]; var ...

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

499. laya.d3.core.MeshTerrainSprite3D [ 90%]

...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.time...

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

500. 输入设备-地图 [ 90%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Text = Laya.Text; var Geolocation = Laya.Geolocation; var Position = Laya.Position; var Browser = Laya.Browser; var Handler = Laya.Handler; // 百度地图 var map; var marker; var BMa...

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