大约有 720 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)
Laya3.0_api(284) Laya2.0_api(154) laya_api(114) Laya_社区(84) Laya2.0_文档(47) Laya3.0_文档(35) Laya2.0_示例(1) Laya_示例(1)
...暴露cube的属性,代码如下: @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; 然后在IDE中,将Cube节点拖入装饰器暴露的属性入口,即可用代码控制Cube节点了。 1. 平移变换 平移变换的定义如下: /** * 平移变换。 * @param translation ...
来源: Laya3.0_文档 发布时间: 20230821
...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
... * @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
...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
...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
...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
... * @param out 输出四元数 */ public static function createFromYawPitchRoll(yaw:Number, pitch:Number, roll:Number, out:Quaternion):void { 2019-03-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...
来源: Laya_社区 发布时间: 20190308
...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
...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
...List放所有加载进来的场景 第一步实现 打开界面 openWindow public openWindow(clazz: any, param?: { data?: any }) { let view = new clazz() this.setView(clazz, view); this.mainContent.addChild(view); } 初始化传进来的场景类; 存进字典 添加到显示层 下面是缓...
来源: Laya_社区 发布时间: 20190222