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

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

121. 同步龙骨插槽动画方案 [ 73%]

同步龙骨插槽动画方案 Laya Ver2.1.1   export class MSketon {      private mFactory: Laya.Templet;     public mArmature: Laya.Skeleton     private _handler: Laya.Handler;      constructor(url: string, handler: Laya.Handler, aniMode: number = 0) {     ...

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

122. laya.maths.Rectangle [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区...

来源: laya_api 发布时间: 20170929

123. laya1.8的字体 显示不全 [ 72%]

...请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: class TextRender getFontSizeInfo 函数,最后部分    var xoff:int = Math.max( orix - pixelBBX[0], 0);    var yoff:int = Math.max( oriy - pixelBBX[1], 0);    var bbxw:int = pixelBBX[2] - pixelBBX[0];    var bbxh:int ...

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

124. 请问这是原因? [ 72%]

...s.Browser; import laya.webgl.WebGL; import laya.wx.mini.MiniAdpter; public class LayaSample { public var sprite:Sprite = new Sprite(); public function LayaSample() { //初始化引擎 MiniAdpter.init(); Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor...

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

125. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 72%]

... import laya.display.Sprite;     import laya.ui.Image;     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640,WebGL);              var image:Image = new ...

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

126. laya.maths.Rectangle [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区...

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

127. 颜色滤镜 差值变化 [ 72%]

.../ module touch {     /**      * 颜色工具类      */ export class ColorTool { private _targetsValue: number = 16777215; private _targetsLastValue: number = null; private targets: Array<Laya.Sprite> = null; public static instance: ColorTool = null; private targetsFilter: Laya.Col...

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

128. 文字设置自动大小和字体后显示切边。 [ 72%]

...请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: class TextRender getFontSizeInfo 函数,最后部分    var xoff:int = Math.max( orix - pixelBBX[0], 0);    var yoff:int = Math.max( oriy - pixelBBX[1], 0);    var bbxw:int = pixelBBX[2] - pixelBBX[0];    var bbxh:int ...

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

129. laya.d3.math.Native.ConchVector4 [ 71%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ConchVector4Properties | Methods Packagelaya.d3.math.NativeClasspublic class ConchVector4InheritanceConchVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefi...

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

130. 高级应用-Laya3D与网页混合 [ 71%]

....Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Laya3DCombineHtml { constructor() { var div = Laya.Browser.window.document.createElement("div"); div.innerHTML = "此内容来源于HTML网页, 可直接在html代码中书写 - h1标签"; document.body.appendChild(div)...

来源: Laya_示例 发布时间: 20241002