• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0070 秒)

851. Sprite-遮罩-放大镜 [ 72%]

...开发更高效。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

852. laya.d3.physics.constraints.Point2PointConstraint [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Point2PointConstraintProperties | Methods Packagelaya.d3.physics.constraintsClasspublic class Point2PointConstraintInheritancePoint2PointConstraint Object Point2PointConstraint 类用于创建物理组件的父类。 Pub...

来源: Laya2.0_api 发布时间: 20190513

853. 跟着老师打地鼠游戏写的代码,JS为什么会出错 [ 72%]

...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

854. laya.d3.math.Plane [ 72%]

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

855. laya.d3.math.Plane [ 72%]

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

856. laya.d3.renderobjs.nativeobj.NativeBounds_API3.0 [ 72%]

...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

857. 图集动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 72%]

... 动画播放基类: [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

858. laya.d3.graphics.VertexPositionNormalColorTextureTangent [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTextureTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTextureTangentInheritanceVertexPositionNormalColorTextureTangent ObjectImplements IVertex Vert...

来源: laya_api 发布时间: 20170929

859. laya.d3.animation.AnimationNode [ 72%]

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

860. 文本基础样式(ActionScript-LayaAir基础篇(AS3)-文本) [ 72%]

...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