大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1043) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(76)
...开发更高效。let bgPath = "res/bg2.png", maskPath = "res/mask.png"; class Sprite_MagnifyingGlass { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.st...
来源: Laya2.0_示例 发布时间: 20241001
API DocumentationAll Packages | All Classes | Index | Frames No Frames Point2PointConstraintProperties | Methods Packagelaya.d3.physics.constraintsClasspublic class Point2PointConstraintInheritancePoint2PointConstraint Object Point2PointConstraint 类用于创建物理组件的父类。 Pub...
来源: Laya2.0_api 发布时间: 20190513
...on Game(){ Game.super(this); this.mole=new Mole() //这里会报错 } Laya.class(Game,"Game",_super); return Game; })(ui.GameUI) var GameUI=(function(_super){ function GameUI(){ this.btn_start=null; this.audio=null; GameUI.__super.call(this); } CLASS$(GameUI,'ui.GameUI',_super); var __proto__=GameUI...
来源: Laya_社区 发布时间: 20180504
API DocumentationAll Packages | All Classes | Index | Frames No Frames PlaneProperties | Methods Packagelaya.d3.mathClasspublic class PlaneInheritancePlane Object Plane 类用于创建平面。 Public Properties PropertyDefined By distance : Number平面到坐标系原点的距离Plane...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames PlaneProperties | Methods Packagelaya.d3.mathClasspublic class PlaneInheritancePlane Object Plane 类用于创建平面。 Public Properties PropertyDefined By distance : Number平面到坐标系原点的距离Plane...
来源: Laya2.0_api 发布时间: 20190513
...rted Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeBounds" NativeBounds Class NativeBounds Hierarchy NativeBounds Implements IClone Index Constructors constructor Properties MemoryBlock_size Accessors max min Methods _getBoundBox calculateBoundsintersection clone cloneTo getCenter getExtent getMa...
来源: Laya3.0_api 发布时间: 20231115
... 动画播放基类: [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.AnimationPlayerBase](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.AnimationBase) 动画类: [https://layaair.ldc.layabox.com/ap...
来源: Laya2.0_文档 发布时间: 20210715
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTextureTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTextureTangentInheritanceVertexPositionNormalColorTextureTangent ObjectImplements IVertex Vert...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationNodeProperties | Methods Packagelaya.d3.animationClasspublic class AnimationNodeInheritanceAnimationNode ObjectImplements laya.d3.core.IClone BoneNode 类用于实现骨骼节点。 Public Properties PropertyDe...
来源: Laya2.0_api 发布时间: 20190513
...ng) ![2.png](img/2.png) ```java package { import laya.display.Text; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var txt:Text = new Text(); txt.text = "hello_world"; txt.color = "#ffffff"; Laya.stage.addChild(txt); } } } ``` 这个时候我们就...
来源: Laya2.0_文档 发布时间: 20210714