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

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

61. 位图字体的制作与使用(ActionScript-LayaAir基础篇(AS3)-文本) [ 64%]

...### **Text 类中相关接口:** **registerBitmapFont () 方法** public static function registerBitmapFont(name:String, bitmapFont:BitmapFont):void 注册位图字体。 参数 ​ name:String — 位图字体的名称。 ​ bitmapFont:BitmapFont — 位图字体文件。 **unregisterBitmapFont ...

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

62. 【LIST无法拖动】参照官方实例做的 [ 64%]

...; import Text = Laya.Text; class Item extends Box {     public static WID: number = 400;     public static HEI: number =40;     private text_guanqia: Text;     private text_guanqia_info: Text;      private img: Image;     constructor(){         ...

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

63. 怎么获取完全限定类名,就像as的getQualifiedClassName [ 64%]

...信 宇智波 旋 赞同来自: /**返回指定对象的完全限定名 */ static getQualifiedClassName(value):string { var type = typeof value; if (!value || (type != "object" && !value.prototype)) { return type; } var prototype = value.prototype ? value.prototype : Object.getPrototypeOf(va...

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

64. 场景管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...景列表,方便内存管理,本属性只读,请不要直接修改*/ static readonly unDestroyedScenes: Set<Scene> = new Set(); /**场景被关闭后,是否自动销毁(销毁节点和使用到的资源),默认为false*/ autoDestroyAtClosed: boolean = false; _scene3D: any; 场景...

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

65. Sprite3D的克隆(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 64%]

...te3D中特有的克隆接口`instantiate`。 ```typescript public function static instantiate(original: Sprite3D, parent: Node = null, worldPositionStays: Boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPo...

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

66. 新建一个AS的3D示例项目,运行什么都不显示,刷新网页就闪退 [ 64%]

...s里Utils3D.as 里面  vector3 =     new vector3();  中间有/*static safe*/ 大写的注视删掉即可 2018-03-14 0 0 分享 微博 QZONE 微信 qian 赞同来自: 哪个版本的 2018-03-13 0 3 分享 微博 QZONE 微信 qian 赞同来自: 项目是没有问题的  你那边报错是...

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

67. 2D物理-仿生机器人 [ 63%]

....addChild(ground); let rigidbody = new Laya.RigidBody(); rigidbody.type = "static"; ground.addComponentIntance(rigidbody); let chainCollider = ground.addComponent(Laya.ChainCollider); chainCollider.points = "50,200,50,570,1050,570,1050,200"; for (let i = 1; i 0) { legCollider1.points = p1.concat(p2)...

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

68. List 组件做的手风琴Demo [ 63%]

...  }     /** * 创建BOX */ class Item extends Laya.Box{     public static WID:number =100;     public static HEI:number =30;     constructor(){         super()         this.size(Item.WID,Item.HEI);         var img1 =new Laya.Image("bg0.png");         v...

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

69. list中的item类中的button注册事件不响应 是怎么回事呢 ?可以帮帮我解答下吗 [ 63%]

...事呢 ?可以帮帮我解答下吗 class Item extends Laya.Box{ public static WID: number = 147; public static HEI: number = 190; private skin_progress_chip:Laya.ProgressBar; private skin_img:Laya.Image; private skin_chipNum:Laya.Text; public skin_btn_use:Laya.Image; private skin_lock:Laya.Image;...

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

70. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 63%]

...Sprite3D都有静态或者动态的两种状态,当一个物体标记为static后,就确保这个物体在游戏场景中为静态的、不会移动的物体,进而在游戏的运行过程中让游戏有更加流畅的运行体验。一般而言,在场景中完全静止的物体标记成stat...

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