大约有 1,534 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0058 秒)
Laya_社区(544) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(53) Laya2.0_示例(2)
...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
...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
...以写一个Tool工具类,方便转换使用: //Tool工具类 export class Tool { private static transVertex0: Laya.Vector3 = new Laya.Vector3(); private static transVertex1: Laya.Vector3 = new Laya.Vector3(); private static transVertex2: Laya.Vector3 = new Laya.Vector3(); private static corners...
来源: Laya3.0_文档 发布时间: 20241014
...讯返回数据 下面是复制的代码,标“*”处为有问题。 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
...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
...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
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
...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
...roup=Text&name=BitmapFont 测试代码: let fontName = "diyFont"; class Text_BitmapFont { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); ...
来源: Laya_社区 发布时间: 20190225
API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientAngularVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientAngularVelocityInheritanceGradientAngularVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类...
来源: laya_api 发布时间: 20170929