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

大约有 1,557 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0059 秒)

1211. 微信小游戏渲染开放域卡顿处理 [ 47%]

...套的,不同开放域代码请勿使用该      */     export class WXBitmap extends Laya.Sprite {         private $viewName: string;         private $texture: Laya.Texture;         private $bitmap: any;         private $timer: lie.Timer;         public auto: boolean =...

来源: Laya_社区 发布时间: 20181114

1212. laya.d3.math.native.ConchVector3_API3.0 [ 47%]

...Only exported Menu Globals "laya/d3/math/Native/ConchVector3" ConchVector3 Class ConchVector3 Vector3 用于创建三维向量。 Hierarchy ConchVector3 Implements IClone Index Constructors constructor Properties elements ForwardLH ForwardRH NAN NegativeUnitX ONE UnitX UnitY UnitZ Up ZERO Accesso...

来源: Laya3.0_api 发布时间: 20231102

1213. 要做一个方形倒计时,请问该怎么实现,不知道该怎么做 [ 47%]

...p.TheGame; import laya.display.Sprite; import laya.maths.Rectangle; public class CdSprite extends Sprite { public static const START:int = -90; public static const COLOR:String = "#000000"; private var r:Number = BarCell.WID / Math.SQRT2; private var rect:Rectangle = new Rectangle(0,0,BarCell.WID,Ba...

来源: Laya_社区 发布时间: 20171124

1214. 本地双击html如何打开laya项目? [ 47%]

...webview加载的本地html5,webview的官网api有这样一句话:This class is the basis upon which you can roll your own web browser or simply display some online content within your Activity. It uses the WebKit rendering engine to display web pages 。原来webview也相当于一个浏览器...

来源: Laya_社区 发布时间: 20160104

1215. laya.d3.core.MeshRenderer_API3.0 [ 47%]

...ernals Only exported Menu Globals "laya/d3/core/MeshRenderer" MeshRenderer Class MeshRenderer MeshRenderer 用于网格渲染器。 Hierarchy BaseRender MeshRenderer SkinnedMeshRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEd...

来源: Laya3.0_api 发布时间: 20231115

1216. socket通讯返回数据 [ 47%]

...讯返回数据 下面是复制的代码,标“*”处为有问题。  class Game { private socket: Laya.Socket; private byte: Laya.Byte; constructor() { //初始化引擎 Laya.init(600, 400, Laya.WebGL); this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte.LITTLE_...

来源: Laya_社区 发布时间: 20180211

1217. 关于位图字体的valign属性问题 [ 47%]

...isplay.Sprite; import laya.display.Text; import laya.utils.Handler; public class GraphicCircle extends Sprite { private var mFontName:String="dataFont"; private var mBitmap:BitmapFont; public function GraphicCircle() { super(); Laya.init(550,400); mBitmap=new BitmapFont(); mBitmap.loadFont("date/dat...

来源: Laya_社区 发布时间: 20161116

1218. laya.d3.core.particleShuriKen.module.GradientAngularVelocity [ 47%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientAngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation ...

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

1219. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 47%]

...xel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 export class Texture2dTest { private sprite3D:Laya.Sprite3D; private readonly AllPng:string[] = ["pic-001.png","output-06.png"]; private texture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 0); Laya.stage.scaleMode = L...

来源: Laya_社区 发布时间: 20220815

1220. 龙骨动画的监听回调,有时能回调,有时不能回调 [ 47%]

...SingleBase"; import DdzFarmersAni from "./DdzFarmersAni";  export default class DdzLandlordAni extends SingleBase{   private mFactory: Laya.Templet = null; public isFinish = false; private mArmatureUsed:Array<Laya.Skeleton> = []; private mArmatureUnUsed:Array<Laya.Skeleton> = [];  pub...

来源: Laya_社区 发布时间: 20190821