大约有 1,112 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0052 秒)
Laya_社区(423) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya_示例(32) Laya3.0_文档(25) Laya2.0_示例(14)
API DocumentationAll Packages | All Classes | Index | Frames No Frames Sprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class Sprite3DInheritanceSprite3D Node EventDispatcher ObjectImplements laya.resource.ICreateResourceSubclasses BaseCamera, LightSprite, RenderableSpr...
来源: Laya2.0_api 发布时间: 20190513
...,只是借助了as的语法,而js是prototype语言,没有显式的class机制,所以没有直接的api帮你拿到类结构。还有一个方法是做类型转换,然后判断结果是否为null,这一样需要些枚举。
来源: Laya_社区 发布时间: 20180404
... Menu Globals "laya/d3/core/pixelLine/PixelLineRenderer" PixelLineRenderer Class PixelLineRenderer PixelLineRenderer 类用于线渲染器。 Hierarchy BaseRender PixelLineRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scr...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames ShurikenParticleMaterialProperties | Methods | Constants Packagelaya.d3.core.particleShuriKenClasspublic class ShurikenParticleMaterialInheritanceShurikenParticleMaterial BaseMaterial laya.resource.Resource ShurikenPart...
来源: Laya2.0_api 发布时间: 20190513
...et.Loader; import laya.resource.Texture; import laya.utils.Handler; public class LayaAirDemo { public function LayaAirDemo() { Laya.init(700,600); Laya.loader.load('res/apes/monkey2.png',Handler.create(this,onLoaded)) } private function onLoaded():void { var texture:Texture=Loader.getRes('res/apes/m...
来源: Laya_社区 发布时间: 20170414
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxColliderProperties | Methods Packagelaya.physicsClasspublic class BoxColliderInheritanceBoxCollider ColliderBase Component Object 2D矩形碰撞体 Public Properties Hide Inherited Public Properties Show Inherited Pub...
来源: Laya2.0_api 发布时间: 20190513
...t Browser = Laya.Browser; import Point = Geometry.Point; // 程序入口 class GameMain{ constructor() { Laya.init(Browser.width, Browser.height, WebGL); this.CreateCircle(); // this.CreateRectangle(); } private firstSp: Laya.Sprite; private _adaptSp: Laya.Sprite; private _pointList : Point[]; pri...
来源: Laya_社区 发布时间: 20190314
...nly exported Menu Globals "laya/d3/core/trail/TrailRenderer" TrailRenderer Class TrailRenderer TrailRenderer 类用于创建拖尾渲染器。 Hierarchy BaseRender TrailRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor script...
来源: Laya3.0_api 发布时间: 20231115
..., 求大大指点, 感激 附上渐变SVG文字的代码: /** * this class is a extension of texts with gradient color */ var effect; (function (effect) { var GradientText = (function (_super) { const style = { DEFAULT: "default", VERTICA...
来源: Laya_社区 发布时间: 20180824
... // 程序入口 import Sprite = Laya.Sprite; import Stage = Laya.Stage; class GameMain{ private sp:Sprite; constructor() { Laya.init(600,400); this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp); var arr:Array<any> = [t...
来源: Laya_社区 发布时间: 20170316