大约有 175 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0041 秒)
Laya_社区(129) Laya2.0_文档(18) laya_api(7) Laya2.0_示例(7) Laya3.0_文档(6) Laya3.0_api(3) Laya_示例(3) Laya2.0_api(2)
...### **Text 类中相关接口:** **registerBitmapFont () 方法** public static function registerBitmapFont(name:String, bitmapFont:BitmapFont):void 注册位图字体。 参数 name:String — 位图字体的名称。 bitmapFont:BitmapFont — 位图字体文件。 **unregisterBitmapFont ...
来源: Laya2.0_文档 发布时间: 20201114
...; 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
...信 宇智波 旋 赞同来自: /**返回指定对象的完全限定名 */ 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
...景列表,方便内存管理,本属性只读,请不要直接修改*/ static readonly unDestroyedScenes: Set<Scene> = new Set(); /**场景被关闭后,是否自动销毁(销毁节点和使用到的资源),默认为false*/ autoDestroyAtClosed: boolean = false; _scene3D: any; 场景...
来源: Laya3.0_文档 发布时间: 20240910
...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
...s里Utils3D.as 里面 vector3 = new vector3(); 中间有/*static safe*/ 大写的注视删掉即可 2018-03-14 0 0 分享 微博 QZONE 微信 qian 赞同来自: 哪个版本的 2018-03-13 0 3 分享 微博 QZONE 微信 qian 赞同来自: 项目是没有问题的 你那边报错是...
来源: Laya_社区 发布时间: 20180313
....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
... } /** * 创建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
...事呢 ?可以帮帮我解答下吗 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
...Sprite3D都有静态或者动态的两种状态,当一个物体标记为static后,就确保这个物体在游戏场景中为静态的、不会移动的物体,进而在游戏的运行过程中让游戏有更加流畅的运行体验。一般而言,在场景中完全静止的物体标记成stat...
来源: Laya3.0_文档 发布时间: 20250103