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

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

321. 3D变换 · LayaAir3.0文档 · LAYABOX [ 67%]

...暴露cube的属性,代码如下: @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; 然后在IDE中,将Cube节点拖入装饰器暴露的属性入口,即可用代码控制Cube节点了。 1. 平移变换 平移变换的定义如下: /** * 平移变换。 * @param translation ...

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

322. laya.components.AnimatorStateNumberCondition_API3.0 [ 67%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorStateCondition" AnimatorStateNumberCondition Class AnimatorStateNumberCondition Hierarchy AnimatorStateCondition AnimatorStat...

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

323. laya.utils.Tween.to的第一个参数可以是个label? [ 67%]

...    * @return    返回Tween对象。          */         public static function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false, autoRecover:Boolean = true):Tween {             return Pool.g...

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

324. 垂直滑动条组件 · LayaAir3.0文档 · LAYABOX [ 67%]

...xport class NewScript extends Laya.Script { @property({type:Laya.VSlider}) public vslider: Laya.VSlider; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.vslider.pos(300,300);//滑动条位置 this.vslider.skin = "resources/...

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

325. 水平滑动条组件 · LayaAir3.0文档 · LAYABOX [ 67%]

...rt class NewScript extends Laya.Script { @property({ type: Laya.HSlider }) public hslider: Laya.HSlider; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hslider.pos(300, 300);//滑动条位置 this.hslider.skin = "resources...

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

326. laya.physics.ChainCollider_API3.0 [ 66%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/ChainCollider" ChainCollider Class ChainCollider 2D线形碰撞体 Hierarchy ColliderBase ChainCollider Index Constructors constructor P...

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

327. Laya.Quaternion.lerp和Laya.Quaternion.rotationLookAt问题! [ 66%]

...   * @param   out 输出四元数          */         public static function createFromYawPitchRoll(yaw:Number, pitch:Number, roll:Number, out:Quaternion):void { 2019-03-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

328. laya.d3.math.MathUtils3D_API3.0 [ 66%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/MathUtils3D" MathUtils3D Class MathUtils3D MathUtils3D 类用于创建数学工具。 Hierarchy MathUtils3D Index Constructors construct...

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

329. laya.d3.core.material.UnlitMaterial [ 66%]

...terialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class UnlitMaterialInheritanceUnlitMaterial BaseMaterial laya.resource.Resource UnlitMaterial 类用于实现不受光照影响的材质。 Public Properties Hide Inherited Public Properties Show Inherited Public Prope...

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

330. LayaBox进阶之UI管理类 [ 66%]

...List放所有加载进来的场景 第一步实现 打开界面 openWindow public openWindow(clazz: any, param?: { data?: any }) { let view = new clazz() this.setView(clazz, view); this.mainContent.addChild(view); }  初始化传进来的场景类; 存进字典 添加到显示层   下面是缓...

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