大约有 237 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
...ded:Handler = null, cacheName:String):Animation 根据指定的动画模版初始化当前动画序列帧。选择动画模版的过程如下:1.Animation loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0...
来源: Laya2.0_api 发布时间: 20190513
...ate cameraController: CameraController; onStart() { // 初始化组件引用 this.playerScript = this.player.getComponent(Player); this.joystickScript = this.joystick.getComponent(Joystick); this.cameraController = this.camera.getComponent(Came...
来源: Laya_社区 发布时间: 20251125
...onent createChildren():void[override] FontClip initialize():void 控件初始化。 UIComponent measureHeight():Number[override] FontClip measureWidth():Number[override] FontClip preinitialize():void 预初始化。 UIComponentEvents Hide Inherited Events Show Inherited Events Event Summ...
来源: Laya2.0_api 发布时间: 20190513
...在此对象内。 Sprite init(templet:Templet, aniMode:int = 0):void 初始化动画 Skeleton isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(path:String, complete:Handler = null, aniMode:int = 0):void 通过加载直接创建动画 Ske...
来源: laya_api 发布时间: 20170929
...在此对象内。 Sprite init(templet:Templet, aniMode:int = 0):void 初始化动画 Skeleton isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(path:String, complete:Handler = null, aniMode:int = 0):void 通过加载直接创建动画 Ske...
来源: Laya2.0_api 发布时间: 20190513
...并添加控件子节点。 ScrollBar initialize():void[override] 控件初始化。 ScrollBar onCompResize():void 父容器的 Event.RESIZE 事件侦听处理函数。 Component preinitialize():void 预初始化。 Component resetLayoutX():void 重置对象的 X 轴(水平方向)布局。 C...
来源: laya_api 发布时间: 20170929
...结构体PixelParams只是定义了这些世界的顶点属性,并没有初始化,InitPixelParams() 返回初始化后的PixelPaams变量。[ BlinnPhongCommon.glsl ] getPositionCS() 传入世界坐标返回的是裁剪空间的坐标。[ Camera.glsl ] remapPositionZ() 对裁剪空间的坐标Z...
来源: Laya3.0_文档 发布时间: 20251010
... //this.setupPositionTracker();//暂不启用 } // 初始化时读取缓存 public initFromStorage(): void { const data = Laya.LocalStorage.getJSON(SoundManager.STORAGE_KEY); if (data) { //Laya.SoundManager.musicVolume = data.bgm...
来源: Laya_社区 发布时间: 20250930
...并添加控件子节点。 ScrollBar initialize():void[override] 控件初始化。 ScrollBar measureHeight():Number[override] 显示对象的实际显示区域高度(以像素为单位)。 ScrollBar measureWidth():Number[override] 显示对象的实际显示区域宽度(以像素为单位...
来源: Laya2.0_api 发布时间: 20190513
...ebgl.WebGL; public class TimeLineDemo { public function TimeLineDemo() { //初始化舞台 Laya.init(1334,750, WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoad回调方法 Laya.loader.load("res/atlas/ui.atlas", Handler.create(this, onLoaded)); } ...
来源: Laya2.0_文档 发布时间: 20210715