大约有 729 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
Laya3.0_api(284) Laya2.0_api(154) laya_api(114) Laya_社区(84) Laya2.0_文档(47) Laya3.0_文档(44) Laya2.0_示例(1) Laya_示例(1)
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/ColliderBase" ColliderBase Class ColliderBase 碰撞体基类 Hierarchy Component ColliderBase BoxCollider ChainCollider CircleCollider ...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors constructor P...
来源: Laya3.0_api 发布时间: 20231115
... } ``` ### **Text 类中相关接口:** **registerBitmapFont () 方法** public static function registerBitmapFont(name:String, bitmapFont:BitmapFont):void 注册位图字体。 参数 name:String — 位图字体的名称。 bitmapFont:BitmapFont — 位图字体文件。 **unregisterBitmapFont (...
来源: Laya2.0_文档 发布时间: 20201114
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Color" Color Class Color Color 类用于创建颜色实例。 Hierarchy Color Implements IClone Index Constructors constructor Properties ...
来源: Laya3.0_api 发布时间: 20231115
... * @return 返回Tween对象。 */ public function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false):Tween { return _create(target, props, duration, ease,...
来源: Laya_社区 发布时间: 20180621
...es No Frames GyroscopeProperties | Methods Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChan...
来源: laya_api 发布时间: 20170929
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/Socket" Socket Class Socket Socket 封装了 HTML5 WebSocket ,允许服务器端与客户端进行全双工(full-duplex)的实时通...
来源: Laya3.0_api 发布时间: 20231115
...port laya.utils.Handler; import laya.utils.Utils; import laya.webgl.WebGL; public class UI_Tree { public function UI_Tree() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage...
来源: Laya2.0_文档 发布时间: 20210715
...astValue: number = null; private targets: Array<Laya.Sprite> = null; public static instance: ColorTool = null; private targetsFilter: Laya.ColorFilter = null; private _persent: number = 0; protected constructor() { this.targets = new Array<Laya.Sprite>(); } /** * 实例 */ public static ...
来源: Laya_社区 发布时间: 20180930
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/DefineDatas" DefineDatas Class DefineDatas DefineDatas 类用于创建宏定义数据集合。 Hierarchy DefineDatas Implements IClone...
来源: Laya3.0_api 发布时间: 20231102