大约有 1,534 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0054 秒)
Laya_社区(544) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(53) Laya2.0_示例(2)
...mport Handler = Laya.Handler; import Loader = Laya.Loader; // 程序入口 class GameMain{ private begin: Begin; constructor() { Laya.init(600,400, WebGL); Laya.stage.bgColor = "#000000"; Laya.loader.load("comp/button.png", Handler.create(this, this.onLoaded)); } private onLoaded(): void { this.begi...
来源: Laya_社区 发布时间: 20180829
...,并且都是ide自动生成的代码。 export module ui { export class HelloUI extends Scene { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","styleSkin":"comp/label.png"...
来源: Laya_社区 发布时间: 20190625
API DocumentationAll Packages | All Classes | Index | Frames No Frames EventDispatcherMethods Packagelaya.eventsClasspublic class EventDispatcherInheritanceEventDispatcher ObjectSubclasses Accelerator, AnimationPlayer, AnimationTransform3D, BaseRender, Component3D, GeometryFilter, Gyroscope,...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames LayerProperties | Methods | Constants Packagelaya.d3.coreClasspublic class LayerInheritanceLayer Object Layer 类用于实现遮罩层。 Public Properties PropertyDefined By active : Boolean 取是否激活。 Laye...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames SkyProceduralMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class SkyProceduralMaterialInheritanceSkyProceduralMaterial BaseMaterial laya.resource.Resource SkyProceduralMaterial 类用...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames KeyframeAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class KeyframeAnimationsInheritanceKeyframeAnimations Component3D EventDispatcher ObjectSubclasses RigidAnimations, SkinAnima...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1SkinProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1SkinInheritanceVertexPositionNormalTexture0Texture1Skin ObjectImplements IVertex V...
来源: laya_api 发布时间: 20170929
...ackage game { import laya.display.Sprite; import laya.events.Event; public class Btn { private var _owner:Sprite; private var _isScal:Boolean; public function Btn() { trace("btn的附加类已经开始执行"); } //设置owner函数,可以直接获取到Button组件的实例 public function set ow...
来源: Laya_社区 发布时间: 20161014
...exture是可以正常使用的,但是用fillTexture时无任何效果。 class Map extends laya.display.Sprite { static width: number = 1188; static height: number = 594; constructor() { super(); Laya.loader.load("res/images/map_01.png", Laya.Handler.create(this, this.bgLoaded)); } bgLoaded(): voi...
来源: Laya_社区 发布时间: 20170714
...如下package { import laya.net.Loader; import laya.utils.Handler; public class XmlDemo { public function XmlDemo() { Laya.init(550,400); Laya.loader.load("data.xml",Handler.create(this,onLoaded),null,Loader.XML); } private function onLoaded():void { // TODO Auto Generated method stub var xml:XmlDem...
来源: Laya_社区 发布时间: 20160914